Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.0007821/0.0007818, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005317/0.005318, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.566/1.566, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.628/1.628, allocations: 252 MB / 0.5105 GB, free: 4.695 MB / 414.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.0005384/0.0005386, allocations: 12 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5521/0.5526, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00493/0.5576, allocations: 4.491 MB / 0.7331 GB, free: 6.762 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00356/0.5612, allocations: 2.476 MB / 0.7355 GB, free: 4.273 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.5614, allocations: 19.81 kB / 0.7356 GB, free: 4.254 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.5617, allocations: 91.22 kB / 0.7356 GB, free: 4.164 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008444/0.5625, allocations: 414 kB / 0.736 GB, free: 3.758 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/0.5633, allocations: 346.3 kB / 0.7364 GB, free: 3.422 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009832/0.5643, allocations: 1.12 MB / 0.7375 GB, free: 2.297 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007437/0.565, allocations: 464.3 kB / 0.7379 GB, free: 1.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003605/0.5654, allocations: 298.6 kB / 0.7382 GB, free: 1.527 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00041/0.5658, allocations: 334.4 kB / 0.7385 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.571e-05/0.5659, allocations: 20 kB / 0.7385 GB, free: 1.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008657/0.5667, allocations: 495 kB / 0.739 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002714/0.567, allocations: 159.4 kB / 0.7391 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003954/0.5674, allocations: 323.9 kB / 0.7395 GB, free: 220 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009743/0.5684, allocations: 0.866 MB / 0.7403 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.5684, allocations: 0 / 0.7403 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.845e-06/0.5684, allocations: 0 / 0.7403 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.5684, allocations: 4 kB / 0.7403 GB, free: 15.34 MB / 0.5606 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.001368/0.5698, allocations: 0.8296 MB / 0.7411 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.5699, allocations: 8.031 kB / 0.7411 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.5711, allocations: 211.8 kB / 0.7413 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006241/0.5718, allocations: 498.2 kB / 0.7418 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.5718, allocations: 29.38 kB / 0.7418 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/0.5719, allocations: 48.36 kB / 0.7419 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.5729, allocations: 0.8486 MB / 0.7427 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.5729, allocations: 7.938 kB / 0.7427 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/0.573, allocations: 23.98 kB / 0.7427 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.93e-05/0.5731, allocations: 64.94 kB / 0.7428 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007799/0.5739, allocations: 0.5734 MB / 0.7434 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004052/0.5779, allocations: 5.65 MB / 0.7489 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.5786, allocations: 450.3 kB / 0.7493 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.5789, allocations: 236.7 kB / 0.7495 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.5789, allocations: 4 kB / 0.7495 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.5789, allocations: 34.56 kB / 0.7496 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.5789, allocations: 0 / 0.7496 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002523/0.5815, allocations: 1.505 MB / 0.751 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.5815, allocations: 55.41 kB / 0.7511 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004957/0.582, allocations: 0.4911 MB / 0.7516 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.5821, allocations: 29.7 kB / 0.7516 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.5823, allocations: 354.8 kB / 0.7519 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.161e-05/0.5824, allocations: 122.3 kB / 0.7521 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-05/0.5825, allocations: 49.69 kB / 0.7521 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.5827, allocations: 366.7 kB / 0.7525 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.583, allocations: 197.2 kB / 0.7526 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.5834, allocations: 443 kB / 0.7531 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007928/0.5842, allocations: 0.6916 MB / 0.7537 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5842, allocations: 0 / 0.7537 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001215/0.5854, allocations: 0.8093 MB / 0.7545 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.5855, allocations: 9.719 kB / 0.7545 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.5855, allocations: 15.98 kB / 0.7546 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000469/0.586, allocations: 152.5 kB / 0.7547 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.5864, allocations: 119.8 kB / 0.7548 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/0.5895, allocations: 4.044 MB / 0.7588 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.5899, allocations: 31.97 kB / 0.7588 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.5899, allocations: 32 kB / 0.7588 GB, free: 10.9 MB / 0.5762 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.0002635/0.5902, allocations: 208.2 kB / 0.759 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.451e-05/0.5903, allocations: 67.23 kB / 0.7591 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.5913, allocations: 0.6007 MB / 0.7597 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.5913, allocations: 7.984 kB / 0.7597 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5914, allocations: 4 kB / 0.7597 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.5914, allocations: 7.938 kB / 0.7597 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.5931, allocations: 1.251 MB / 0.7609 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.5932, allocations: 11.92 kB / 0.7609 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.5934, allocations: 55.89 kB / 0.761 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003735/0.5938, allocations: 140.4 kB / 0.7611 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.5938, allocations: 8 kB / 0.7611 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00299/0.5968, allocations: 4.028 MB / 0.7651 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.5969, allocations: 8.031 kB / 0.7651 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009495/0.5978, allocations: 0.7087 MB / 0.7658 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.598, allocations: 168.3 kB / 0.7659 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.5981, allocations: 11.94 kB / 0.7659 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.5983, allocations: 23.97 kB / 0.7659 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.5984, allocations: 31.95 kB / 0.766 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.5984, allocations: 12 kB / 0.766 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003459/0.5988, allocations: 326.9 kB / 0.7663 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5988, allocations: 0 / 0.7663 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006719/0.5995, allocations: 148 kB / 0.7664 GB, free: 2.496 MB / 0.5762 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.0001966/0.5997, allocations: 109.9 kB / 0.7665 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.601, allocations: 1.036 MB / 0.7676 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.601, allocations: 0.8125 kB / 0.7676 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007624/0.6018, allocations: 0.7424 MB / 0.7683 GB, free: 448 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.6029, allocations: 193.2 kB / 0.7685 GB, free: 260 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.6046, allocations: 1.273 MB / 0.7697 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.6051, allocations: 0.9097 MB / 0.7706 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003118/0.6054, allocations: 109.3 kB / 0.7707 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.869e-05/0.6055, allocations: 47.42 kB / 0.7707 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of SimCode: time 7.32e-07/0.6055, allocations: 0 / 0.7707 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of Templates: time 0.01312/0.6187, allocations: 7.265 MB / 0.7778 GB, free: 6.656 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) Environment - environmentSimulation: