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.001232/0.001232, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001773/0.001773, allocations: 193.7 kB / 16.14 MB, free: 6.703 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.916/1.916, allocations: 205.1 MB / 222 MB, free: 4.973 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.678/1.678, allocations: 251.6 MB / 0.5088 GB, free: 3.387 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.001702/0.001703, allocations: 63.92 kB / 0.6216 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6918/0.6936, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007218/0.7008, allocations: 4.884 MB / 0.7286 GB, free: 8.262 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004438/0.7053, allocations: 2.507 MB / 0.731 GB, free: 5.742 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006116/0.706, allocations: 27.75 kB / 0.7311 GB, free: 5.715 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.7073, allocations: 365.2 kB / 0.7314 GB, free: 5.359 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.7087, allocations: 414.1 kB / 0.7318 GB, free: 4.953 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009974/0.7097, allocations: 343.4 kB / 0.7321 GB, free: 4.617 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.711, allocations: 1.128 MB / 0.7332 GB, free: 3.484 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006669/0.7117, allocations: 353.2 kB / 0.7336 GB, free: 3.137 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000485/0.7122, allocations: 298.7 kB / 0.7339 GB, free: 2.844 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.7127, allocations: 350.4 kB / 0.7342 GB, free: 2.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.604e-05/0.7127, allocations: 31.94 kB / 0.7342 GB, free: 2.469 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009796/0.7137, allocations: 0.4912 MB / 0.7347 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.7139, allocations: 167.5 kB / 0.7349 GB, free: 1.812 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.7142, allocations: 302.2 kB / 0.7351 GB, free: 1.516 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.7153, allocations: 0.8876 MB / 0.736 GB, free: 0.625 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7153, allocations: 4 kB / 0.736 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7153, allocations: 0 / 0.736 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.7153, allocations: 0 / 0.736 GB, free: 0.6211 MB / 0.545 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.001572/0.7169, allocations: 0.9346 MB / 0.7369 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.7169, allocations: 12.03 kB / 0.7369 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.7182, allocations: 203.7 kB / 0.7371 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007138/0.719, allocations: 490.4 kB / 0.7376 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.719, allocations: 33.31 kB / 0.7376 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.663e-05/0.7191, allocations: 52.3 kB / 0.7377 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.7203, allocations: 0.8487 MB / 0.7385 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.7203, allocations: 7.938 kB / 0.7385 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/0.7204, allocations: 23.98 kB / 0.7385 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.7205, allocations: 72.94 kB / 0.7386 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008412/0.7213, allocations: 0.5616 MB / 0.7392 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0049/0.7262, allocations: 5.658 MB / 0.7447 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006691/0.727, allocations: 454.3 kB / 0.7451 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.7273, allocations: 224.7 kB / 0.7453 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.7274, allocations: 4 kB / 0.7453 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.7274, allocations: 42.56 kB / 0.7454 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.314e-06/0.7274, allocations: 0 / 0.7454 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002626/0.73, allocations: 1.501 MB / 0.7468 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.7301, allocations: 51.41 kB / 0.7469 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005267/0.7307, allocations: 0.4949 MB / 0.7474 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.7307, allocations: 29.7 kB / 0.7474 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.7309, allocations: 358.8 kB / 0.7478 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.731, allocations: 114.4 kB / 0.7479 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.7312, allocations: 114.2 kB / 0.748 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.7314, allocations: 362.8 kB / 0.7483 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.7317, allocations: 201.1 kB / 0.7485 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/0.7322, allocations: 443 kB / 0.7489 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008652/0.7331, allocations: 0.6916 MB / 0.7496 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7331, allocations: 0 / 0.7496 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001307/0.7344, allocations: 0.8019 MB / 0.7504 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.7344, allocations: 8 kB / 0.7504 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.7344, allocations: 11.94 kB / 0.7504 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005204/0.735, allocations: 156.1 kB / 0.7506 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/0.7354, allocations: 119.8 kB / 0.7507 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/0.7388, allocations: 4.048 MB / 0.7546 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004254/0.7393, allocations: 35.97 kB / 0.7547 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.7393, allocations: 28 kB / 0.7547 GB, free: 12.02 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.0002969/0.7396, allocations: 213.7 kB / 0.7549 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.665e-05/0.7397, allocations: 59.25 kB / 0.7549 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.7407, allocations: 0.6084 MB / 0.7555 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.7408, allocations: 7.969 kB / 0.7555 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7408, allocations: 4 kB / 0.7556 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7408, allocations: 3.938 kB / 0.7556 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.7426, allocations: 1.255 MB / 0.7568 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.7426, allocations: 0 / 0.7568 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.7428, allocations: 55.89 kB / 0.7568 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000392/0.7432, allocations: 152.3 kB / 0.757 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.7433, allocations: 8 kB / 0.757 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00304/0.7463, allocations: 4.02 MB / 0.7609 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.423e-06/0.7464, allocations: 12.27 kB / 0.7609 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.7474, allocations: 0.7042 MB / 0.7616 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.7476, allocations: 172.3 kB / 0.7618 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/0.7477, allocations: 11.94 kB / 0.7618 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.7479, allocations: 19.97 kB / 0.7618 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.585e-05/0.748, allocations: 35.95 kB / 0.7618 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.7481, allocations: 8 kB / 0.7618 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003919/0.7484, allocations: 330.9 kB / 0.7622 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7485, allocations: 0 / 0.7622 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006765/0.7491, allocations: 140 kB / 0.7623 GB, free: 3.621 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.0002208/0.7494, allocations: 115.4 kB / 0.7624 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.7508, allocations: 1.036 MB / 0.7634 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.7508, allocations: 0 / 0.7634 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007994/0.7516, allocations: 0.7308 MB / 0.7641 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009168/0.7525, allocations: 192.5 kB / 0.7643 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.7542, allocations: 1.253 MB / 0.7655 GB, free: 84 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.7548, allocations: 0.9019 MB / 0.7664 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003369/0.7551, allocations: 125.3 kB / 0.7665 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.142e-05/0.7552, allocations: 39.44 kB / 0.7666 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.7552, allocations: 3.938 kB / 0.7666 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of Templates: time 0.01297/0.7682, allocations: 7.338 MB / 0.7737 GB, free: 7.727 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (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)