Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.001254/0.001255, 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.0014/0.0014, allocations: 188.9 kB / 16.14 MB, free: 6.707 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.251/1.251, allocations: 205.1 MB / 222 MB, free: 4.781 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.569/1.569, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.0014/0.0014, allocations: 72.02 kB / 0.6709 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2028, allocations: 114.5 MB / 0.7828 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01381/0.2166, allocations: 13.83 MB / 0.7963 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.2291, allocations: 9.476 MB / 0.8056 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.2306, allocations: 59.62 kB / 0.8056 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003989/0.2346, allocations: 1.552 MB / 0.8071 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004146/0.2388, allocations: 1.418 MB / 0.8085 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.2406, allocations: 0.6824 MB / 0.8092 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00348/0.2441, allocations: 3.183 MB / 0.8123 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.2459, allocations: 1.348 MB / 0.8136 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.2472, allocations: 0.9338 MB / 0.8145 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.2485, allocations: 1.144 MB / 0.8156 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.2487, allocations: 104 kB / 0.8157 GB, free: 12 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.2502, allocations: 0.8851 MB / 0.8166 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004772/0.2507, allocations: 0.5529 MB / 0.8172 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008047/0.2515, allocations: 0.8703 MB / 0.818 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.2539, allocations: 2.726 MB / 0.8207 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2539, allocations: 0 / 0.8207 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.22e-07/0.254, allocations: 0 / 0.8207 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.95e-05/0.254, allocations: 4 kB / 0.8207 GB, free: 6.941 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003838/0.2578, allocations: 2.135 MB / 0.8228 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2579, allocations: 8.031 kB / 0.8228 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002217/0.2581, allocations: 194.4 kB / 0.8229 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.2691, allocations: 2.081 MB / 0.825 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.2717, allocations: 1.205 MB / 0.8262 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-05/0.2717, allocations: 90.73 kB / 0.8262 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/0.272, allocations: 119.9 kB / 0.8264 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005343/0.2773, allocations: 2.682 MB / 0.829 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/0.2774, allocations: 4 kB / 0.829 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.2775, allocations: 51.98 kB / 0.829 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005888/0.2781, allocations: 178.1 kB / 0.8292 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007011/0.2852, allocations: 2.803 MB / 0.8319 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.2989, allocations: 10.52 MB / 0.8422 GB, free: 16 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006275/0.3052, allocations: 2.524 MB / 0.8447 GB, free: 13.43 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002921/0.3082, allocations: 1.295 MB / 0.8459 GB, free: 12.13 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.48e-05/0.3083, allocations: 12.94 kB / 0.8459 GB, free: 12.11 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.3083, allocations: 43.56 kB / 0.846 GB, free: 12.06 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 2.976e-06/0.3083, allocations: 0 / 0.846 GB, free: 12.06 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.04307/0.3514, allocations: 13.35 MB / 0.859 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.3515, allocations: 68.72 kB / 0.8591 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.3529, allocations: 1.117 MB / 0.8602 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/0.353, allocations: 45.7 kB / 0.8602 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004534/0.3535, allocations: 0.7193 MB / 0.8609 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/0.3539, allocations: 453.5 kB / 0.8614 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004735/0.3543, allocations: 259.4 kB / 0.8616 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3545, allocations: 361.9 kB / 0.862 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002967/0.3575, allocations: 1.339 MB / 0.8633 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00315/0.3606, allocations: 1.604 MB / 0.8648 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006091/0.3667, allocations: 2.994 MB / 0.8678 GB, free: 5.297 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.3667, allocations: 7.938 kB / 0.8678 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01079/0.3775, allocations: 4.438 MB / 0.8721 GB, free: 0.7969 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.3776, allocations: 8 kB / 0.8721 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.3776, allocations: 8 kB / 0.8721 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005282/0.3829, allocations: 1.436 MB / 0.8735 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/0.3849, allocations: 439.2 kB / 0.8739 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02333/0.4082, allocations: 24.55 MB / 0.8979 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.4106, allocations: 303.6 kB / 0.8982 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.4108, allocations: 63.97 kB / 0.8983 GB, free: 4.215 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007459/0.4116, allocations: 442 kB / 0.8987 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/0.4118, allocations: 158.1 kB / 0.8988 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/0.4226, allocations: 4.457 MB / 0.9032 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.4227, allocations: 15.94 kB / 0.9032 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-05/0.4227, allocations: 16 kB / 0.9032 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.4227, allocations: 3.984 kB / 0.9032 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/0.4367, allocations: 6.766 MB / 0.9098 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.4368, allocations: 3.984 kB / 0.9098 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/0.4385, allocations: 379.4 kB / 0.9102 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004693/0.4432, allocations: 1.307 MB / 0.9115 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/0.4434, allocations: 43.97 kB / 0.9115 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3174/0.7608, allocations: 23.5 MB / 0.9344 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7608, allocations: 4.609 kB / 0.9345 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009498/0.7703, allocations: 4.205 MB / 0.9386 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000768/0.7711, allocations: 455.3 kB / 0.939 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.7714, allocations: 23.11 kB / 0.939 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/0.7732, allocations: 314.2 kB / 0.9393 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004469/0.7737, allocations: 120.2 kB / 0.9394 GB, free: 113 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.7738, allocations: 48.38 kB / 0.9395 GB, free: 113 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008581/0.7747, allocations: 0.7579 MB / 0.9402 GB, free: 112.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.41e-07/0.7747, allocations: 3.719 kB / 0.9402 GB, free: 112.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001695/0.7764, allocations: 0.5682 MB / 0.9408 GB, free: 112.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01008/0.7865, allocations: 4.795 MB / 0.9455 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009942/0.7965, allocations: 5.12 MB / 0.9505 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.7965, allocations: 1 kB / 0.9505 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005656/0.8021, allocations: 3.483 MB / 0.9539 GB, free: 106.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.8044, allocations: 0.5154 MB / 0.9544 GB, free: 106 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03517/0.8396, allocations: 20.94 MB / 0.9748 GB, free: 94.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007878/0.8404, allocations: 1.479 MB / 0.9763 GB, free: 93.65 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001578/0.842, allocations: 418.7 kB / 0.9767 GB, free: 93.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000695/0.8427, allocations: 0.6288 MB / 0.9773 GB, free: 92.91 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.8427, allocations: 0 / 0.9773 GB, free: 92.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.778/3.621, allocations: 49.85 MB / 1.026 GB, free: 45.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/3.621, allocations: 244.7 kB / 1.026 GB, free: 44.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.3/6.921, allocations: 0 / 1.026 GB, free: 44.9 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)