Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_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.005464/0.005464, allocations: 99.95 kB / 15.73 MB, free: 6.059 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.001284/0.001284, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002515/0.002515, allocations: 288.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1/1, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003629/0.003629, allocations: 91.86 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.425, allocations: 86.98 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03635/0.4613, allocations: 30.74 MB / 0.7959 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02157/0.4829, allocations: 13.59 MB / 0.8092 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003121/0.4861, allocations: 143.2 kB / 0.8094 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008852/0.495, allocations: 3.195 MB / 0.8125 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008708/0.5037, allocations: 2.669 MB / 0.8151 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005806/0.5095, allocations: 2.012 MB / 0.817 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01104/0.5206, allocations: 7.63 MB / 0.8245 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01113/0.5318, allocations: 8.221 MB / 0.8325 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005871/0.5377, allocations: 3.416 MB / 0.8359 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00593/0.5436, allocations: 3.376 MB / 0.8392 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001642/0.5453, allocations: 0.5938 MB / 0.8397 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003908/0.5492, allocations: 1.502 MB / 0.8412 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003194/0.5524, allocations: 2.366 MB / 0.8435 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004908/0.5574, allocations: 2.89 MB / 0.8463 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.5704, allocations: 9.488 MB / 0.8556 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5704, allocations: 0 / 0.8556 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.414e-06/0.5704, allocations: 0 / 0.8556 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002625/0.5707, allocations: 0 / 0.8556 GB, free: 7.641 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01262/0.5833, allocations: 5.27 MB / 0.8608 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5834, allocations: 8.031 kB / 0.8608 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001208/0.5846, allocations: 0.6164 MB / 0.8614 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005825/0.5904, allocations: 1.02 MB / 0.8624 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00637/0.5968, allocations: 3.093 MB / 0.8654 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003046/0.5972, allocations: 320.6 kB / 0.8657 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/0.5983, allocations: 419.9 kB / 0.8661 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.613, allocations: 6.791 MB / 0.8727 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000168/0.6133, allocations: 27.81 kB / 0.8727 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007673/0.614, allocations: 184 kB / 0.8729 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009487/0.615, allocations: 376 kB / 0.8733 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.6257, allocations: 5.114 MB / 0.8783 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03648/0.6622, allocations: 30.57 MB / 0.9081 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.6644, allocations: 1.387 MB / 0.9095 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/0.6662, allocations: 1.338 MB / 0.9108 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.216e-05/0.6663, allocations: 13.31 kB / 0.9108 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/0.6664, allocations: 51.88 kB / 0.9108 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=130): time 2.986e-06/0.6664, allocations: 0 / 0.9108 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=199): time 0.08937/0.7558, allocations: 23.14 MB / 0.9334 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.7559, allocations: 77.39 kB / 0.9335 GB, free: 4.453 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003032/0.759, allocations: 2.062 MB / 0.9355 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002558/0.7592, allocations: 61.7 kB / 0.9356 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001533/0.7608, allocations: 2.063 MB / 0.9376 GB, free: 232 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007146/0.7615, allocations: 0.7126 MB / 0.9383 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007574/0.7623, allocations: 408.4 kB / 0.9387 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.7624, allocations: 305.1 kB / 0.939 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/0.7646, allocations: 1.441 MB / 0.9404 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002732/0.7674, allocations: 2.01 MB / 0.9424 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005147/0.7725, allocations: 3.692 MB / 0.946 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.7726, allocations: 8 kB / 0.946 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01159/0.7842, allocations: 5.674 MB / 0.9515 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.7842, allocations: 12 kB / 0.9515 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/0.7843, allocations: 20 kB / 0.9515 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006926/0.7912, allocations: 2.088 MB / 0.9536 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.7927, allocations: 375.4 kB / 0.9539 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3694/1.162, allocations: 38.45 MB / 0.9915 GB, free: 163.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/1.165, allocations: 130.2 kB / 0.9916 GB, free: 163.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/1.165, allocations: 93 kB / 0.9917 GB, free: 163.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002004/1.167, allocations: 1.504 MB / 0.9932 GB, free: 162.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004821/1.167, allocations: 299.1 kB / 0.9934 GB, free: 162.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008935/1.176, allocations: 5.215 MB / 0.9985 GB, free: 160.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/1.176, allocations: 19.31 kB / 0.9986 GB, free: 160.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.718e-05/1.176, allocations: 18.62 kB / 0.9986 GB, free: 160.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.733e-05/1.176, allocations: 10.64 kB / 0.9986 GB, free: 160.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/1.191, allocations: 9.676 MB / 1.008 GB, free: 156.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/1.191, allocations: 3.812 kB / 1.008 GB, free: 156.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007776/1.192, allocations: 221.4 kB / 1.008 GB, free: 156.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005219/1.197, allocations: 1.844 MB / 1.01 GB, free: 156.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/1.197, allocations: 38.44 kB / 1.01 GB, free: 156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02676/1.224, allocations: 37.47 MB / 1.047 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.224, allocations: 8 kB / 1.047 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007991/1.232, allocations: 4.93 MB / 1.052 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/1.233, allocations: 0.6279 MB / 1.052 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003587/1.234, allocations: 40 kB / 1.052 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/1.235, allocations: 131.8 kB / 1.052 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005718/1.236, allocations: 197.4 kB / 1.052 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/1.236, allocations: 56 kB / 1.053 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001645/1.237, allocations: 1.374 MB / 1.054 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.11e-07/1.237, allocations: 0 / 1.054 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003462/1.241, allocations: 1.051 MB / 1.055 GB, free: 108.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007246/1.248, allocations: 5.551 MB / 1.06 GB, free: 102.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007954/1.256, allocations: 6.305 MB / 1.066 GB, free: 95.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.256, allocations: 4 kB / 1.066 GB, free: 95.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005311/1.262, allocations: 4.406 MB / 1.071 GB, free: 91.28 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/1.265, allocations: 0.9852 MB / 1.072 GB, free: 90.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04338/1.309, allocations: 30.8 MB / 1.102 GB, free: 58.55 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003069/1.312, allocations: 3.121 MB / 1.105 GB, free: 55.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001706/1.314, allocations: 0.5237 MB / 1.105 GB, free: 54.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/1.315, allocations: 1.667 MB / 1.107 GB, free: 53.2 MB / 0.7325 GB Notification: Performance of SimCode: time 7.91e-07/1.315, allocations: 4 kB / 1.107 GB, free: 53.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1724/1.488, allocations: 88.17 MB / 1.193 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/16.81, allocations: 17.33 kB / 1.193 GB, free: 14.23 MB / 0.7794 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)