Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009142/0.0009141, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008839/0.0008839, allocations: 178.2 kB / 16.57 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6586/0.6586, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003231, allocations: 8 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1489, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01347/0.1625, allocations: 14.06 MB / 0.5705 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006836/0.1693, allocations: 4.558 MB / 0.5749 GB, free: 9.016 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.1704, allocations: 55.62 kB / 0.575 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006639/0.1711, allocations: 290.2 kB / 0.5753 GB, free: 8.676 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.1728, allocations: 0.6386 MB / 0.5759 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.1743, allocations: 0.5689 MB / 0.5764 GB, free: 7.469 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001943/0.1763, allocations: 1.651 MB / 0.578 GB, free: 5.812 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006508/0.1828, allocations: 4.931 MB / 0.5829 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3302/0.513, allocations: 0.9468 MB / 0.5838 GB, free: 16.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.5157, allocations: 0.9962 MB / 0.5848 GB, free: 16.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003865/0.5161, allocations: 143.5 kB / 0.5849 GB, free: 16.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.5173, allocations: 347.3 kB / 0.5852 GB, free: 16.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.5187, allocations: 0.978 MB / 0.5862 GB, free: 16.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007939/0.5195, allocations: 496.8 kB / 0.5867 GB, free: 16.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006485/0.526, allocations: 4.21 MB / 0.5908 GB, free: 16.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.526, allocations: 0 / 0.5908 GB, free: 16.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.526, allocations: 1.594 kB / 0.5908 GB, free: 16.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001585/0.5262, allocations: 0 / 0.5908 GB, free: 16.49 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.006995/0.5332, allocations: 2.192 MB / 0.5929 GB, free: 15.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.5333, allocations: 10.5 kB / 0.5929 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00108/0.5343, allocations: 369.6 kB / 0.5933 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004505/0.5389, allocations: 0.8699 MB / 0.5941 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004338/0.5432, allocations: 1.471 MB / 0.5956 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.5434, allocations: 181.5 kB / 0.5957 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006626/0.5441, allocations: 229.2 kB / 0.5959 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009768/0.5539, allocations: 4.131 MB / 0.6 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.125e-05/0.554, allocations: 8.906 kB / 0.6 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003307/0.5543, allocations: 100.4 kB / 0.6001 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002639/0.5546, allocations: 171.9 kB / 0.6002 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007198/0.5618, allocations: 3.623 MB / 0.6038 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02057/0.5824, allocations: 16.53 MB / 0.6199 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/0.5857, allocations: 2.293 MB / 0.6222 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.5859, allocations: 97.69 kB / 0.6223 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.5859, allocations: 51.52 kB / 0.6223 GB, free: 15.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=72): time 3.457e-06/0.5859, allocations: 0 / 0.6223 GB, free: 15.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.007148/0.5931, allocations: 3.455 MB / 0.6257 GB, free: 12.92 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.5932, allocations: 111.4 kB / 0.6258 GB, free: 12.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.5952, allocations: 1.012 MB / 0.6268 GB, free: 12.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.66e-05/0.5953, allocations: 40.8 kB / 0.6268 GB, free: 12.17 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008984/0.5962, allocations: 1.093 MB / 0.6279 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/0.5965, allocations: 283 kB / 0.6282 GB, free: 10.97 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/0.5966, allocations: 29.81 kB / 0.6282 GB, free: 10.95 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.5968, allocations: 410.9 kB / 0.6286 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.5978, allocations: 0.619 MB / 0.6292 GB, free: 10.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.5991, allocations: 1.186 MB / 0.6303 GB, free: 9.172 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.6003, allocations: 0.8594 MB / 0.6312 GB, free: 8.742 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/0.6003, allocations: 3.469 kB / 0.6312 GB, free: 8.742 MB / 462.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003258/0.6036, allocations: 2.022 MB / 0.6332 GB, free: 7.797 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.6037, allocations: 16.22 kB / 0.6332 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.445e-05/0.6037, allocations: 19.12 kB / 0.6332 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004304/0.6041, allocations: 165.8 kB / 0.6334 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.6052, allocations: 350.5 kB / 0.6337 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.082e-05/0.6053, allocations: 48.45 kB / 0.6337 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.6065, allocations: 131.7 kB / 0.6339 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.6066, allocations: 71.98 kB / 0.6339 GB, free: 7.375 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002052/0.6087, allocations: 0.9776 MB / 0.6349 GB, free: 6.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002981/0.609, allocations: 106.7 kB / 0.635 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.6111, allocations: 1.241 MB / 0.6362 GB, free: 5.051 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.6111, allocations: 8 kB / 0.6362 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/0.6112, allocations: 7.984 kB / 0.6362 GB, free: 5.035 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.6112, allocations: 0 / 0.6362 GB, free: 5.035 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006001/0.6172, allocations: 3.689 MB / 0.6398 GB, free: 1.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.6172, allocations: 4 kB / 0.6398 GB, free: 1.266 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006149/0.6178, allocations: 162.9 kB / 0.64 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003445/0.6182, allocations: 147.3 kB / 0.6401 GB, free: 0.957 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.6182, allocations: 12 kB / 0.6401 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.6183, allocations: 7.984 kB / 0.6401 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.6183, allocations: 7.953 kB / 0.6401 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.6203, allocations: 1.592 MB / 0.6417 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006153/0.621, allocations: 299.6 kB / 0.642 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.6211, allocations: 20 kB / 0.642 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006414/0.6217, allocations: 74.53 kB / 0.6421 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.6219, allocations: 56.42 kB / 0.6421 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/0.6219, allocations: 27.98 kB / 0.6421 GB, free: 14.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000972/0.6229, allocations: 0.6875 MB / 0.6428 GB, free: 14.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6229, allocations: 0 / 0.6428 GB, free: 14.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001729/0.6247, allocations: 392 kB / 0.6432 GB, free: 13.65 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00245/0.6271, allocations: 2.843 MB / 0.646 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002351/0.6295, allocations: 1.717 MB / 0.6476 GB, free: 8.906 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6295, allocations: 0 / 0.6476 GB, free: 8.906 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008843/0.6304, allocations: 0.8754 MB / 0.6485 GB, free: 7.949 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.6317, allocations: 242.7 kB / 0.6487 GB, free: 7.719 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/0.6524, allocations: 22.54 MB / 0.6707 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.6542, allocations: 1.961 MB / 0.6727 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00114/0.6553, allocations: 457.3 kB / 0.6731 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008003/0.6561, allocations: 0.7102 MB / 0.6738 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.6561, allocations: 0 / 0.6738 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.559/2.215, allocations: 26.85 MB / 0.7 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/2.215, allocations: 219.3 kB / 0.7002 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/4.077, allocations: 4.062 kB / 0.7002 GB, free: 2.723 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) Environment - environmentSimulation: