Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",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.0007539/0.0007541, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005721/0.005722, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.321/1.321, 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 8.1.4-maint.8.1.x/package.mo): time 1.609/1.609, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005772/0.0005773, allocations: 14.69 kB / 0.6744 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2093, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01248/0.2218, allocations: 11.28 MB / 0.799 GB, free: 160 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008196/0.2301, allocations: 5.292 MB / 0.8042 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.2312, allocations: 31.88 kB / 0.8042 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009753/0.2321, allocations: 306 kB / 0.8045 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.2336, allocations: 0.5951 MB / 0.8051 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.2351, allocations: 0.6187 MB / 0.8057 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003224/0.2383, allocations: 3.601 MB / 0.8092 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005219/0.2436, allocations: 4.086 MB / 0.8132 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.2451, allocations: 0.7745 MB / 0.814 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.2465, allocations: 1.032 MB / 0.815 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.2466, allocations: 95.94 kB / 0.8151 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008578/0.2475, allocations: 431.3 kB / 0.8155 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006655/0.2482, allocations: 0.7248 MB / 0.8162 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007841/0.249, allocations: 0.8064 MB / 0.817 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002792/0.2518, allocations: 3.361 MB / 0.8203 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2518, allocations: 4 kB / 0.8203 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2518, allocations: 0 / 0.8203 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.873e-05/0.2518, allocations: 0 / 0.8203 GB, free: 10.28 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.002883/0.2547, allocations: 1.605 MB / 0.8218 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.2548, allocations: 8.031 kB / 0.8218 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003386/0.2551, allocations: 252.4 kB / 0.8221 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.2572, allocations: 458.4 kB / 0.8225 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.2589, allocations: 1.105 MB / 0.8236 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/0.2589, allocations: 115.4 kB / 0.8237 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/0.2592, allocations: 155.9 kB / 0.8238 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00398/0.2632, allocations: 2.731 MB / 0.8265 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.2632, allocations: 7.906 kB / 0.8265 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.2634, allocations: 63.98 kB / 0.8266 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002789/0.2637, allocations: 146.9 kB / 0.8267 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003407/0.2671, allocations: 2.288 MB / 0.829 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/0.278, allocations: 10.45 MB / 0.8392 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009186/0.2789, allocations: 0.5803 MB / 0.8397 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/0.2795, allocations: 368.6 kB / 0.8401 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.2796, allocations: 89.09 kB / 0.8402 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.2796, allocations: 42.5 kB / 0.8402 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 2.425e-06/0.2796, allocations: 4 kB / 0.8402 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of matching and sorting (n=52): time 0.01915/0.2988, allocations: 5.753 MB / 0.8458 GB, free: 14.92 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.2989, allocations: 55.84 kB / 0.8459 GB, free: 14.85 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.3, allocations: 0.8789 MB / 0.8467 GB, free: 13.96 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.3002, allocations: 33.7 kB / 0.8468 GB, free: 13.93 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000505/0.3007, allocations: 0.7616 MB / 0.8475 GB, free: 13.15 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.3008, allocations: 189.4 kB / 0.8477 GB, free: 12.96 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.301, allocations: 77.67 kB / 0.8478 GB, free: 12.88 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3011, allocations: 386.8 kB / 0.8481 GB, free: 12.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000948/0.3021, allocations: 0.6265 MB / 0.8488 GB, free: 11.87 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.3032, allocations: 0.9942 MB / 0.8497 GB, free: 10.71 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.3053, allocations: 1.635 MB / 0.8513 GB, free: 8.914 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3053, allocations: 4 kB / 0.8513 GB, free: 8.91 MB / 0.67 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008678/0.314, allocations: 3.147 MB / 0.8544 GB, free: 5.742 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002747/0.3143, allocations: 431.3 kB / 0.8548 GB, free: 5.156 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.3143, allocations: 12 kB / 0.8548 GB, free: 5.145 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007635/0.322, allocations: 1.747 MB / 0.8565 GB, free: 3.383 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008507/0.3228, allocations: 227.6 kB / 0.8567 GB, free: 3.16 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/0.3359, allocations: 9.928 MB / 0.8664 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.3372, allocations: 167.8 kB / 0.8666 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.3374, allocations: 36 kB / 0.8666 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.3374, allocations: 4 kB / 0.8666 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007026/0.3444, allocations: 2.579 MB / 0.8692 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/0.3445, allocations: 12.38 kB / 0.8692 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005111/0.3496, allocations: 1.16 MB / 0.8703 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.3506, allocations: 235.6 kB / 0.8705 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007397/0.3581, allocations: 5.434 MB / 0.8758 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.3593, allocations: 131.9 kB / 0.876 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.3594, allocations: 43.98 kB / 0.876 GB, free: 14.63 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001341/0.3608, allocations: 0.8407 MB / 0.8768 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.361, allocations: 83 kB / 0.8769 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007879/0.3689, allocations: 2.602 MB / 0.8794 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.3689, allocations: 4 kB / 0.8794 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.3689, allocations: 8.172 kB / 0.8795 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.369, allocations: 3.938 kB / 0.8795 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.3795, allocations: 4.534 MB / 0.8839 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.3795, allocations: 0 / 0.8839 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.38, allocations: 99.86 kB / 0.884 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006843/0.3868, allocations: 1.591 MB / 0.8855 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.611e-05/0.3869, allocations: 12 kB / 0.8855 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/0.3993, allocations: 9.477 MB / 0.8948 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3993, allocations: 0 / 0.8948 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007858/0.4072, allocations: 2.574 MB / 0.8973 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000683/0.4079, allocations: 280.1 kB / 0.8976 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002727/0.4082, allocations: 12 kB / 0.8976 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009634/0.4092, allocations: 119.7 kB / 0.8977 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/0.4094, allocations: 51.88 kB / 0.8978 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/0.4095, allocations: 16 kB / 0.8978 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009351/0.4104, allocations: 0.6317 MB / 0.8984 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4105, allocations: 0 / 0.8984 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002338/0.4128, allocations: 0.5859 MB / 0.899 GB, free: 6.34 MB / 0.7169 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): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008123/0.4209, allocations: 3.158 MB / 0.902 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0053/0.4263, allocations: 3.094 MB / 0.9051 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/0.4263, allocations: 0 / 0.9051 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/0.4282, allocations: 1.187 MB / 0.9062 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.4297, allocations: 230.3 kB / 0.9064 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3819/0.8116, allocations: 14.81 MB / 0.9209 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/0.813, allocations: 1.617 MB / 0.9225 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001351/0.8144, allocations: 494.5 kB / 0.923 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005968/0.815, allocations: 490.6 kB / 0.9234 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.815, allocations: 0 / 0.9234 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05125/0.8662, allocations: 33.69 MB / 0.9563 GB, free: 116 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/0.8664, allocations: 265.4 kB / 0.9566 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.139/3.006, allocations: 0 / 0.9566 GB, free: 115.7 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)