Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.00834/0.00834, allocations: 101.9 kB / 15.73 MB, free: 5.492 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.001956/0.001956, allocations: 186.5 kB / 16.67 MB, free: 5.422 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002145/0.002145, allocations: 294.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9633/0.9633, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 91.84 kB / 0.681 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4107, allocations: 86.98 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03562/0.4463, allocations: 32.59 MB / 0.7978 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01739/0.4638, allocations: 10.27 MB / 0.8078 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003059/0.4669, allocations: 151.2 kB / 0.8079 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009192/0.4761, allocations: 3.714 MB / 0.8116 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005277/0.4814, allocations: 1.956 MB / 0.8135 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005467/0.4868, allocations: 2.132 MB / 0.8155 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008198/0.4951, allocations: 7.349 MB / 0.8227 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01161/0.5067, allocations: 9.412 MB / 0.8319 GB, free: 12 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004458/0.5112, allocations: 3.225 MB / 0.8351 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004494/0.5157, allocations: 3.485 MB / 0.8385 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001501/0.5172, allocations: 0.6445 MB / 0.8391 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003986/0.5212, allocations: 1.763 MB / 0.8408 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004196/0.5254, allocations: 2.55 MB / 0.8433 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.006506/0.532, allocations: 2.898 MB / 0.8461 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.5443, allocations: 10.11 MB / 0.856 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5443, allocations: 0 / 0.856 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5443, allocations: 0 / 0.856 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002919/0.5446, allocations: 0 / 0.856 GB, free: 7.27 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.0122/0.5568, allocations: 4.998 MB / 0.8609 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5569, allocations: 8.031 kB / 0.8609 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002046/0.5589, allocations: 0.682 MB / 0.8616 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00591/0.5648, allocations: 0.9551 MB / 0.8625 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006027/0.5709, allocations: 3.05 MB / 0.8655 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/0.5712, allocations: 341.7 kB / 0.8658 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/0.5724, allocations: 468.2 kB / 0.8662 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/0.5872, allocations: 7.667 MB / 0.8737 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.5874, allocations: 35.61 kB / 0.8738 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004926/0.5879, allocations: 200 kB / 0.874 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000336/0.5882, allocations: 312.9 kB / 0.8743 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.5993, allocations: 5.71 MB / 0.8798 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03821/0.6376, allocations: 34.83 MB / 0.9138 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.6406, allocations: 2.163 MB / 0.916 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.6423, allocations: 1.264 MB / 0.9172 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.122e-05/0.6424, allocations: 17.31 kB / 0.9172 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.6425, allocations: 43.88 kB / 0.9172 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=133): time 3.396e-06/0.6425, allocations: 0 / 0.9172 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of matching and sorting (n=136): time 0.01339/0.6559, allocations: 7.088 MB / 0.9242 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.6559, allocations: 68.72 kB / 0.9242 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.6579, allocations: 1.484 MB / 0.9257 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.658, allocations: 49.7 kB / 0.9257 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.6593, allocations: 2.004 MB / 0.9277 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004863/0.6598, allocations: 481.1 kB / 0.9281 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005421/0.6604, allocations: 355.1 kB / 0.9285 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.6605, allocations: 301.1 kB / 0.9288 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.6619, allocations: 0.9096 MB / 0.9297 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.6635, allocations: 1.593 MB / 0.9312 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003397/0.667, allocations: 2.737 MB / 0.9339 GB, free: 2.664 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.667, allocations: 8 kB / 0.9339 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006138/0.6731, allocations: 3.53 MB / 0.9373 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.6732, allocations: 12.94 kB / 0.9374 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.199e-05/0.6732, allocations: 27.94 kB / 0.9374 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002683/0.6759, allocations: 0.896 MB / 0.9383 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.6773, allocations: 351.4 kB / 0.9386 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02123/0.6985, allocations: 23.11 MB / 0.9612 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.7001, allocations: 100 kB / 0.9613 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.7002, allocations: 88 kB / 0.9613 GB, free: 4.789 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002613/0.7028, allocations: 1.613 MB / 0.9629 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000388/0.7032, allocations: 213.6 kB / 0.9631 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3401/1.043, allocations: 2.98 MB / 0.966 GB, free: 181.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-05/1.043, allocations: 14.27 kB / 0.966 GB, free: 181.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-05/1.043, allocations: 9.844 kB / 0.9661 GB, free: 181.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.063e-05/1.043, allocations: 6.703 kB / 0.9661 GB, free: 181.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/1.056, allocations: 7.337 MB / 0.9732 GB, free: 179.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/1.057, allocations: 3.625 kB / 0.9732 GB, free: 179.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007272/1.057, allocations: 179 kB / 0.9734 GB, free: 179.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002233/1.06, allocations: 0.8243 MB / 0.9742 GB, free: 179.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.802e-05/1.06, allocations: 25.84 kB / 0.9742 GB, free: 179.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01436/1.074, allocations: 21.95 MB / 0.9957 GB, free: 160.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.074, allocations: 7.938 kB / 0.9957 GB, free: 160.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004734/1.079, allocations: 3.028 MB / 0.9986 GB, free: 159 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008736/1.08, allocations: 454.8 kB / 0.9991 GB, free: 158.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/1.08, allocations: 27.84 kB / 0.9991 GB, free: 158.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006902/1.081, allocations: 75.08 kB / 0.9992 GB, free: 158.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003781/1.081, allocations: 122 kB / 0.9993 GB, free: 158.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.174e-05/1.081, allocations: 43.12 kB / 0.9993 GB, free: 158.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001159/1.082, allocations: 0.9725 MB / 1 GB, free: 158.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.082, allocations: 3.938 kB / 1 GB, free: 158.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002933/1.085, allocations: 0.7877 MB / 1.001 GB, free: 158.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004518/1.09, allocations: 3.613 MB / 1.005 GB, free: 156.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004685/1.094, allocations: 4.025 MB / 1.009 GB, free: 154 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.094, allocations: 3.312 kB / 1.009 GB, free: 154 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002883/1.097, allocations: 2.734 MB / 1.011 GB, free: 151.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/1.1, allocations: 0.7377 MB / 1.012 GB, free: 151.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02656/1.127, allocations: 22.33 MB / 1.034 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002525/1.129, allocations: 3.108 MB / 1.037 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001165/1.13, allocations: 465.9 kB / 1.037 GB, free: 124.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/1.132, allocations: 1.534 MB / 1.039 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/1.132, allocations: 0 / 1.039 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/1.28, allocations: 61.46 MB / 1.099 GB, free: 62.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.84, allocations: 6.094 kB / 1.099 GB, free: 62.42 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)