Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.215/0.2158, allocations: 82.22 MB / 0.5941 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007114/0.223, allocations: 4.415 MB / 0.5984 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005083/0.2281, allocations: 2.698 MB / 0.6011 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008567/0.2291, allocations: 23.81 kB / 0.6011 GB, free: 14.42 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005319/0.2296, allocations: 87.22 kB / 0.6012 GB, free: 14.33 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.2314, allocations: 465.9 kB / 0.6016 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.2325, allocations: 342.5 kB / 0.6019 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.2342, allocations: 1.108 MB / 0.603 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.2353, allocations: 472.5 kB / 0.6035 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006452/0.236, allocations: 282.7 kB / 0.6037 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008312/0.2368, allocations: 358.4 kB / 0.6041 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.237, allocations: 16 kB / 0.6041 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.2382, allocations: 499 kB / 0.6046 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003108/0.2385, allocations: 163.5 kB / 0.6047 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005703/0.2391, allocations: 315.9 kB / 0.605 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.2407, allocations: 0.8485 MB / 0.6059 GB, free: 9.484 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2407, allocations: 0 / 0.6059 GB, free: 9.484 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2407, allocations: 7.938 kB / 0.6059 GB, free: 9.477 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.98e-05/0.2407, allocations: 0 / 0.6059 GB, free: 9.477 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001615/0.2423, allocations: 0.8102 MB / 0.6067 GB, free: 8.617 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2424, allocations: 12.03 kB / 0.6067 GB, free: 8.605 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.2438, allocations: 203.8 kB / 0.6069 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007459/0.2446, allocations: 486.4 kB / 0.6073 GB, free: 7.891 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.2446, allocations: 37.36 kB / 0.6074 GB, free: 7.855 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.556e-05/0.2447, allocations: 40.38 kB / 0.6074 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.2459, allocations: 0.8383 MB / 0.6082 GB, free: 6.844 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.246, allocations: 11.84 kB / 0.6082 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-05/0.246, allocations: 31.92 kB / 0.6083 GB, free: 6.801 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.641e-05/0.2461, allocations: 60.95 kB / 0.6083 GB, free: 6.742 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008406/0.247, allocations: 0.55 MB / 0.6089 GB, free: 6.191 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004725/0.2517, allocations: 5.133 MB / 0.6139 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006556/0.2524, allocations: 462.7 kB / 0.6143 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.2527, allocations: 228.7 kB / 0.6145 GB, free: 100 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.2528, allocations: 4 kB / 0.6145 GB, free: 96 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2528, allocations: 34.56 kB / 0.6146 GB, free: 52 kB / 462.1 MB Notification: Performance of pre-optimization done (n=32): time 2.385e-06/0.2528, allocations: 0 / 0.6146 GB, free: 52 kB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.00274/0.2556, allocations: 1.512 MB / 0.6161 GB, free: 14.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.2556, allocations: 55.41 kB / 0.6161 GB, free: 14.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005718/0.2562, allocations: 0.491 MB / 0.6166 GB, free: 13.86 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.2563, allocations: 29.7 kB / 0.6166 GB, free: 13.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.2565, allocations: 346.9 kB / 0.6169 GB, free: 13.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.2566, allocations: 122.3 kB / 0.6171 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.2567, allocations: 53.69 kB / 0.6171 GB, free: 13.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.2569, allocations: 370.8 kB / 0.6175 GB, free: 12.92 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.2573, allocations: 197.2 kB / 0.6177 GB, free: 12.73 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.2577, allocations: 447.6 kB / 0.6181 GB, free: 12.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008927/0.2587, allocations: 0.6877 MB / 0.6188 GB, free: 11.37 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2587, allocations: 4 kB / 0.6188 GB, free: 11.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001422/0.2601, allocations: 0.8127 MB / 0.6195 GB, free: 10.53 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.2601, allocations: 8.969 kB / 0.6196 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.2602, allocations: 11.94 kB / 0.6196 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005464/0.2607, allocations: 156.1 kB / 0.6197 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/0.2612, allocations: 119.8 kB / 0.6198 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003326/0.2646, allocations: 4.04 MB / 0.6238 GB, free: 5.781 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.2651, allocations: 31.97 kB / 0.6238 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.2652, allocations: 28 kB / 0.6238 GB, free: 5.723 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003158/0.2655, allocations: 222.5 kB / 0.624 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.2656, allocations: 59.34 kB / 0.6241 GB, free: 5.438 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.2667, allocations: 0.6047 MB / 0.6247 GB, free: 4.812 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.2668, allocations: 4 kB / 0.6247 GB, free: 4.809 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.2668, allocations: 4 kB / 0.6247 GB, free: 4.805 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2668, allocations: 7.984 kB / 0.6247 GB, free: 4.797 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.2687, allocations: 1.267 MB / 0.6259 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.2687, allocations: 4 kB / 0.6259 GB, free: 3.438 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.269, allocations: 55.89 kB / 0.626 GB, free: 3.383 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004222/0.2694, allocations: 140.1 kB / 0.6261 GB, free: 3.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.2694, allocations: 11.94 kB / 0.6261 GB, free: 3.219 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002969/0.2724, allocations: 4.021 MB / 0.6301 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.2724, allocations: 4.031 kB / 0.6301 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.2735, allocations: 0.7155 MB / 0.6308 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.2737, allocations: 164.3 kB / 0.6309 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.2738, allocations: 11.98 kB / 0.6309 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.274, allocations: 23.97 kB / 0.631 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/0.2742, allocations: 35.84 kB / 0.631 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.2742, allocations: 8 kB / 0.631 GB, free: 13.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003789/0.2746, allocations: 338.8 kB / 0.6313 GB, free: 13.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2746, allocations: 0 / 0.6313 GB, free: 13.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006628/0.2752, allocations: 136 kB / 0.6315 GB, free: 13.31 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001508/0.2754, allocations: 107.2 kB / 0.6316 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.2768, allocations: 1.045 MB / 0.6326 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.2768, allocations: 0 / 0.6326 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008068/0.2777, allocations: 0.7424 MB / 0.6333 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.2788, allocations: 191.7 kB / 0.6335 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.2805, allocations: 1.256 MB / 0.6347 GB, free: 9.754 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.2811, allocations: 0.9019 MB / 0.6356 GB, free: 8.824 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003916/0.2815, allocations: 129.3 kB / 0.6357 GB, free: 8.695 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.479e-05/0.2816, allocations: 35.44 kB / 0.6358 GB, free: 8.66 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2816, allocations: 0 / 0.6358 GB, free: 8.66 MB / 494.1 MB Notification: Performance of Templates: time 0.01421/0.2958, allocations: 7.253 MB / 0.6428 GB, free: 1.516 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) Environment - environmentSimulation: