Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",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.0008984/0.0008985, allocations: 95.25 kB / 15.68 MB, free: 488 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.00089/0.0008904, allocations: 176.6 kB / 16.57 MB, free: 6.387 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.319/1.319, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6887/0.6887, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002904, allocations: 8 kB / 493 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1537, allocations: 77.12 MB / 0.5567 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01095/0.1647, allocations: 10.42 MB / 0.5669 GB, free: 1.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007874/0.1726, allocations: 5.154 MB / 0.5719 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007727/0.1734, allocations: 27.88 kB / 0.572 GB, free: 12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007151/0.1741, allocations: 326.2 kB / 0.5723 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.1754, allocations: 0.5491 MB / 0.5728 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.1769, allocations: 0.5964 MB / 0.5734 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.1782, allocations: 1.205 MB / 0.5746 GB, free: 9.324 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004886/0.1831, allocations: 3.862 MB / 0.5784 GB, free: 5.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.1842, allocations: 0.6386 MB / 0.579 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009028/0.1851, allocations: 0.7436 MB / 0.5797 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.1853, allocations: 100 kB / 0.5798 GB, free: 3.926 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008696/0.1861, allocations: 327.6 kB / 0.5801 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005863/0.1867, allocations: 0.6821 MB / 0.5808 GB, free: 2.922 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.1871, allocations: 372.8 kB / 0.5811 GB, free: 2.551 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3415/0.5286, allocations: 3.255 MB / 0.5843 GB, free: 15.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5286, allocations: 0 / 0.5843 GB, free: 15.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5286, allocations: 0 / 0.5843 GB, free: 15.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001295/0.5288, allocations: 0.6562 kB / 0.5843 GB, free: 15.51 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004721/0.5335, allocations: 1.769 MB / 0.586 GB, free: 14.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5336, allocations: 8.953 kB / 0.586 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005919/0.5342, allocations: 261.9 kB / 0.5863 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/0.5377, allocations: 0.7614 MB / 0.587 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/0.5409, allocations: 1.236 MB / 0.5882 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.5411, allocations: 124 kB / 0.5884 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003759/0.5414, allocations: 161.6 kB / 0.5885 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006487/0.5479, allocations: 2.925 MB / 0.5914 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-05/0.548, allocations: 4.75 kB / 0.5914 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/0.5482, allocations: 70.75 kB / 0.5914 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005075/0.5487, allocations: 205.7 kB / 0.5916 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005313/0.5541, allocations: 2.5 MB / 0.5941 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01438/0.5684, allocations: 10.91 MB / 0.6047 GB, free: 8.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.5698, allocations: 0.9167 MB / 0.6056 GB, free: 8.125 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.5699, allocations: 91.86 kB / 0.6057 GB, free: 8.031 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.5699, allocations: 41.19 kB / 0.6058 GB, free: 7.992 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.434e-06/0.57, allocations: 4 kB / 0.6058 GB, free: 7.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=70): time 0.02636/0.5963, allocations: 8.966 MB / 0.6145 GB, free: 5.312 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.5964, allocations: 85.28 kB / 0.6146 GB, free: 5.219 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.5981, allocations: 0.9427 MB / 0.6155 GB, free: 4.688 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.5982, allocations: 39.61 kB / 0.6156 GB, free: 4.648 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004642/0.5987, allocations: 0.7742 MB / 0.6163 GB, free: 3.965 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.5989, allocations: 250.2 kB / 0.6166 GB, free: 3.754 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-05/0.599, allocations: 20.38 kB / 0.6166 GB, free: 3.738 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5991, allocations: 393.7 kB / 0.6169 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.6002, allocations: 0.8018 MB / 0.6177 GB, free: 2.945 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.6013, allocations: 1.158 MB / 0.6189 GB, free: 2.055 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.6025, allocations: 0.9927 MB / 0.6198 GB, free: 1.535 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.6025, allocations: 5.094 kB / 0.6198 GB, free: 1.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.008536/0.611, allocations: 3.788 MB / 0.6235 GB, free: 15.63 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001532/0.6126, allocations: 4.262 MB / 0.6277 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.6126, allocations: 11 kB / 0.6277 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007658/0.6203, allocations: 2.163 MB / 0.6298 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008848/0.6212, allocations: 226.5 kB / 0.63 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/0.636, allocations: 10.69 MB / 0.6405 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.6375, allocations: 195.6 kB / 0.6407 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.284e-05/0.6376, allocations: 51.98 kB / 0.6407 GB, free: 14.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.6377, allocations: 4 kB / 0.6407 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007013/0.6447, allocations: 3.071 MB / 0.6437 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/0.6447, allocations: 8 kB / 0.6437 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004925/0.6497, allocations: 1.364 MB / 0.6451 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.6508, allocations: 299 kB / 0.6453 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009665/0.6605, allocations: 6.372 MB / 0.6516 GB, free: 3.711 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.6618, allocations: 173.9 kB / 0.6517 GB, free: 3.543 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.254e-05/0.6619, allocations: 44 kB / 0.6518 GB, free: 3.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001314/0.6632, allocations: 0.8979 MB / 0.6526 GB, free: 2.605 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.6634, allocations: 94.92 kB / 0.6527 GB, free: 2.512 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008019/0.6715, allocations: 3.329 MB / 0.656 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.6715, allocations: 4 kB / 0.656 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6715, allocations: 7.375 kB / 0.656 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.6715, allocations: 3.984 kB / 0.656 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.6828, allocations: 5.49 MB / 0.6614 GB, free: 9.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.6828, allocations: 4 kB / 0.6614 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.6833, allocations: 109 kB / 0.6615 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006822/0.6901, allocations: 1.977 MB / 0.6634 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.6902, allocations: 12 kB / 0.6634 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/0.7028, allocations: 10.08 MB / 0.6733 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.7029, allocations: 4 kB / 0.6733 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007663/0.7105, allocations: 3.289 MB / 0.6765 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008618/0.7114, allocations: 343.9 kB / 0.6768 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.7116, allocations: 15.95 kB / 0.6768 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008405/0.7124, allocations: 151.8 kB / 0.677 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/0.7127, allocations: 70.73 kB / 0.677 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.478e-05/0.7128, allocations: 20 kB / 0.677 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008874/0.7137, allocations: 0.6707 MB / 0.6777 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7137, allocations: 0 / 0.6777 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002379/0.716, allocations: 0.7031 MB / 0.6784 GB, free: 7.863 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.008088/0.7241, allocations: 4.437 MB / 0.6827 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006897/0.7311, allocations: 3.906 MB / 0.6865 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.7311, allocations: 2.297 kB / 0.6865 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/0.7331, allocations: 1.322 MB / 0.6878 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.7343, allocations: 249 kB / 0.6881 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02141/0.7557, allocations: 18.58 MB / 0.7062 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.7571, allocations: 1.758 MB / 0.7079 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00124/0.7583, allocations: 0.5109 MB / 0.7084 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005594/0.7589, allocations: 0.4993 MB / 0.7089 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/0.7589, allocations: 0 / 0.7089 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.543/2.301, allocations: 41.81 MB / 0.7497 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/2.302, allocations: 237.5 kB / 0.75 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/4.42, allocations: 0 / 0.75 GB, free: 14.69 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) Environment - environmentSimulation: