Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 103.2 kB / 16.35 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 192.7 kB / 17.29 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.884/1.884, allocations: 292.3 MB / 0.5496 GB, free: 17.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 67.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2598, allocations: 114.5 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.4038/0.6636, allocations: 4.856 MB / 0.7895 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003691/0.6674, allocations: 2.493 MB / 0.792 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003577/0.6678, allocations: 23.34 kB / 0.792 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.6689, allocations: 405.9 kB / 0.7924 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0009555/0.6699, allocations: 442.2 kB / 0.7928 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008423/0.6707, allocations: 371.7 kB / 0.7931 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008577/0.6716, allocations: 0.9202 MB / 0.794 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004862/0.6721, allocations: 351.2 kB / 0.7944 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.6724, allocations: 342.6 kB / 0.7947 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/0.6728, allocations: 345.4 kB / 0.795 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.6729, allocations: 37.59 kB / 0.7951 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006823/0.6736, allocations: 402.2 kB / 0.7954 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.6737, allocations: 184.2 kB / 0.7956 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.674, allocations: 318.1 kB / 0.7959 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008009/0.6748, allocations: 0.8824 MB / 0.7968 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6748, allocations: 3.438 kB / 0.7968 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6748, allocations: 0 / 0.7968 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.6748, allocations: 0 / 0.7968 GB, free: 45.02 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001299/0.6762, allocations: 0.9352 MB / 0.7977 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.6762, allocations: 10.34 kB / 0.7977 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.6775, allocations: 204.4 kB / 0.7979 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.6782, allocations: 490.2 kB / 0.7984 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.6782, allocations: 30.56 kB / 0.7984 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/0.6783, allocations: 48.27 kB / 0.7985 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009767/0.6793, allocations: 0.8523 MB / 0.7993 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.6793, allocations: 10.69 kB / 0.7993 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/0.6794, allocations: 24.11 kB / 0.7993 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.883e-05/0.6795, allocations: 66.55 kB / 0.7994 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008379/0.6803, allocations: 0.5682 MB / 0.7999 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003871/0.6842, allocations: 5.647 MB / 0.8055 GB, free: 38.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/0.6849, allocations: 455 kB / 0.8059 GB, free: 38.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.6853, allocations: 227.9 kB / 0.8061 GB, free: 38.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.6853, allocations: 4.922 kB / 0.8061 GB, free: 38.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.6854, allocations: 35.19 kB / 0.8061 GB, free: 38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 2.454e-06/0.6854, allocations: 1.781 kB / 0.8061 GB, free: 38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002963/0.6883, allocations: 1.507 MB / 0.8076 GB, free: 37.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.6884, allocations: 55.56 kB / 0.8077 GB, free: 37.01 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006696/0.6891, allocations: 0.4959 MB / 0.8082 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.6891, allocations: 31.39 kB / 0.8082 GB, free: 36.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.6894, allocations: 352.5 kB / 0.8085 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.6895, allocations: 118.8 kB / 0.8086 GB, free: 36.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.6897, allocations: 107.2 kB / 0.8087 GB, free: 36.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6898, allocations: 365.5 kB / 0.8091 GB, free: 35.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.6902, allocations: 195.3 kB / 0.8093 GB, free: 35.9 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004612/0.6907, allocations: 448.3 kB / 0.8097 GB, free: 35.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009152/0.6916, allocations: 0.6918 MB / 0.8104 GB, free: 34.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6917, allocations: 1.969 kB / 0.8104 GB, free: 34.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001595/0.6933, allocations: 0.8077 MB / 0.8112 GB, free: 34.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.6933, allocations: 9 kB / 0.8112 GB, free: 34.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.6933, allocations: 9.062 kB / 0.8112 GB, free: 34.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006532/0.694, allocations: 161 kB / 0.8113 GB, free: 34.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.6945, allocations: 122.4 kB / 0.8115 GB, free: 34.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003496/0.6981, allocations: 4.348 MB / 0.8157 GB, free: 30.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/0.6988, allocations: 34.67 kB / 0.8157 GB, free: 30.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.346e-05/0.6988, allocations: 27.78 kB / 0.8158 GB, free: 30.25 MB / 0.6544 GB 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.0003781/0.6992, allocations: 221.1 kB / 0.816 GB, free: 30.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.6993, allocations: 61.94 kB / 0.816 GB, free: 30.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.7006, allocations: 0.5993 MB / 0.8166 GB, free: 29.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.7006, allocations: 7.516 kB / 0.8166 GB, free: 29.76 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.7007, allocations: 4.125 kB / 0.8166 GB, free: 29.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.7007, allocations: 2.109 kB / 0.8166 GB, free: 29.76 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.7028, allocations: 1.25 MB / 0.8178 GB, free: 29.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.7028, allocations: 2.781 kB / 0.8178 GB, free: 29.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.7031, allocations: 55.33 kB / 0.8179 GB, free: 29.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000408/0.7035, allocations: 143.9 kB / 0.818 GB, free: 28.99 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.7035, allocations: 11.44 kB / 0.818 GB, free: 28.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.706, allocations: 4.337 MB / 0.8223 GB, free: 24.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.7061, allocations: 2.625 kB / 0.8223 GB, free: 24.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.7072, allocations: 0.7157 MB / 0.823 GB, free: 24.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.7075, allocations: 168.4 kB / 0.8231 GB, free: 24.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.7076, allocations: 13.41 kB / 0.8232 GB, free: 24.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.7078, allocations: 22.5 kB / 0.8232 GB, free: 24.13 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.798e-05/0.7079, allocations: 35.91 kB / 0.8232 GB, free: 24.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.708, allocations: 11.28 kB / 0.8232 GB, free: 24.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000429/0.7084, allocations: 331 kB / 0.8235 GB, free: 23.97 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7084, allocations: 0 / 0.8235 GB, free: 23.97 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007385/0.7091, allocations: 142.1 kB / 0.8237 GB, free: 23.95 MB / 0.6544 GB 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.0001375/0.7093, allocations: 111.6 kB / 0.8238 GB, free: 23.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.7107, allocations: 1.032 MB / 0.8248 GB, free: 23.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7108, allocations: 0 / 0.8248 GB, free: 23.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000774/0.7115, allocations: 0.7427 MB / 0.8255 GB, free: 22.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.7126, allocations: 201.4 kB / 0.8257 GB, free: 22.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.7145, allocations: 1.028 MB / 0.8267 GB, free: 21.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.7151, allocations: 0.9048 MB / 0.8276 GB, free: 21.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004432/0.7155, allocations: 118.7 kB / 0.8277 GB, free: 21.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.7157, allocations: 39.59 kB / 0.8277 GB, free: 21.15 MB / 0.6544 GB Notification: Performance of SimCode: time 8.02e-07/0.7157, allocations: 0 / 0.8277 GB, free: 21.15 MB / 0.6544 GB Notification: Performance of Templates: time 0.01977/0.7355, allocations: 7.588 MB / 0.8352 GB, free: 20.77 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)