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.001148/0.001148, 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.001132/0.001131, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.19/1.19, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001898/0.001898, allocations: 276.2 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.841/0.841, allocations: 169.2 MB / 0.4977 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 91.44 kB / 0.5946 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1333, allocations: 86.98 MB / 0.6796 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02805/0.1614, allocations: 30.47 MB / 0.7093 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.18, allocations: 13.56 MB / 0.7226 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00293/0.1829, allocations: 131.2 kB / 0.7227 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.006924/0.1899, allocations: 2.977 MB / 0.7256 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006432/0.1963, allocations: 2.464 MB / 0.728 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004207/0.2006, allocations: 1.832 MB / 0.7298 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00965/0.2102, allocations: 10.45 MB / 0.74 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/0.2209, allocations: 9.054 MB / 0.7488 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00419/0.2251, allocations: 2.966 MB / 0.7517 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003825/0.2289, allocations: 3.442 MB / 0.7551 GB, free: 3.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006221/0.2295, allocations: 400 kB / 0.7555 GB, free: 3.039 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.2321, allocations: 1.529 MB / 0.757 GB, free: 1.508 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001797/0.234, allocations: 2.155 MB / 0.7591 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002523/0.2365, allocations: 2.648 MB / 0.7616 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007267/0.2438, allocations: 9.308 MB / 0.7707 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2438, allocations: 0 / 0.7707 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2438, allocations: 0 / 0.7707 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001472/0.2439, allocations: 0 / 0.7707 GB, free: 3.352 MB / 0.5606 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.2519/0.4959, allocations: 5.132 MB / 0.7758 GB, free: 87.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4959, allocations: 9.5 kB / 0.7758 GB, free: 87.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008989/0.4969, allocations: 0.6194 MB / 0.7764 GB, free: 87.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005445/0.5023, allocations: 0.9914 MB / 0.7773 GB, free: 86.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004792/0.5071, allocations: 2.899 MB / 0.7802 GB, free: 85.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.5073, allocations: 315.5 kB / 0.7805 GB, free: 85.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00061/0.5079, allocations: 417.7 kB / 0.7809 GB, free: 85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009601/0.5175, allocations: 6.789 MB / 0.7875 GB, free: 82.11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-05/0.5177, allocations: 24.52 kB / 0.7875 GB, free: 82.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003807/0.5181, allocations: 180.2 kB / 0.7877 GB, free: 81.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007463/0.5188, allocations: 375.4 kB / 0.788 GB, free: 81.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007509/0.5263, allocations: 5.118 MB / 0.793 GB, free: 80.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02557/0.5519, allocations: 30.75 MB / 0.8231 GB, free: 52.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.5535, allocations: 1.386 MB / 0.8244 GB, free: 52.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.5548, allocations: 1.33 MB / 0.8257 GB, free: 51.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.073e-05/0.5549, allocations: 13.19 kB / 0.8257 GB, free: 51.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.555, allocations: 55.78 kB / 0.8258 GB, free: 51.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=130): time 2.835e-06/0.555, allocations: 1.594 kB / 0.8258 GB, free: 51.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=199): time 0.07223/0.6272, allocations: 23.07 MB / 0.8483 GB, free: 31.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.6273, allocations: 73.41 kB / 0.8484 GB, free: 31.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.6292, allocations: 2.066 MB / 0.8504 GB, free: 29.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.6293, allocations: 57.7 kB / 0.8505 GB, free: 29.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000702/0.63, allocations: 2.009 MB / 0.8524 GB, free: 27.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/0.6304, allocations: 0.6687 MB / 0.8531 GB, free: 26.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005626/0.6309, allocations: 416.1 kB / 0.8535 GB, free: 26.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.626e-05/0.631, allocations: 305.1 kB / 0.8538 GB, free: 26.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.6325, allocations: 1.43 MB / 0.8552 GB, free: 24.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.6342, allocations: 2.013 MB / 0.8571 GB, free: 22.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/0.6374, allocations: 3.696 MB / 0.8607 GB, free: 18.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.6375, allocations: 7.938 kB / 0.8607 GB, free: 18.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.00818/0.6456, allocations: 5.654 MB / 0.8663 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.6457, allocations: 12 kB / 0.8663 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.6457, allocations: 19.98 kB / 0.8663 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005486/0.6512, allocations: 2.089 MB / 0.8683 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.6523, allocations: 382.9 kB / 0.8687 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03067/0.683, allocations: 35.49 MB / 0.9034 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/0.6852, allocations: 127.9 kB / 0.9035 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.6854, allocations: 92 kB / 0.9036 GB, free: 4.102 MB / 0.5919 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.00212/0.6875, allocations: 1.509 MB / 0.905 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003593/0.6879, allocations: 281 kB / 0.9053 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009091/0.697, allocations: 5.215 MB / 0.9104 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.697, allocations: 19.98 kB / 0.9104 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/0.697, allocations: 20 kB / 0.9104 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.6971, allocations: 15.95 kB / 0.9105 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/0.7117, allocations: 9.684 MB / 0.9199 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.7117, allocations: 4 kB / 0.9199 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007637/0.7125, allocations: 219.6 kB / 0.9201 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005596/0.7181, allocations: 1.841 MB / 0.9219 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.7182, allocations: 43.94 kB / 0.922 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03226/0.7505, allocations: 34.5 MB / 0.9557 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/0.7505, allocations: 11.94 kB / 0.9557 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008453/0.759, allocations: 4.909 MB / 0.9605 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.7603, allocations: 0.6225 MB / 0.9611 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/0.7606, allocations: 40 kB / 0.9611 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.7618, allocations: 124 kB / 0.9612 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000575/0.7624, allocations: 193.5 kB / 0.9614 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.7625, allocations: 64 kB / 0.9615 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001714/0.7642, allocations: 1.374 MB / 0.9628 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7642, allocations: 7.938 kB / 0.9628 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002957/0.7672, allocations: 1.051 MB / 0.9638 GB, free: 3.523 MB / 0.6544 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.008391/0.7756, allocations: 5.531 MB / 0.9693 GB, free: 13.82 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008968/0.7846, allocations: 6.262 MB / 0.9754 GB, free: 7.344 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.7846, allocations: 4 kB / 0.9754 GB, free: 7.34 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006052/0.7907, allocations: 4.396 MB / 0.9797 GB, free: 2.723 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003861/0.7946, allocations: 0.9176 MB / 0.9806 GB, free: 1.828 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0548/0.8494, allocations: 35.96 MB / 1.016 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002911/0.8523, allocations: 3.119 MB / 1.019 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001811/0.8541, allocations: 0.5198 MB / 1.019 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/0.8558, allocations: 1.675 MB / 1.021 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of SimCode: time 8.71e-07/0.8559, allocations: 4 kB / 1.021 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.698/5.554, allocations: 87.21 MB / 1.106 GB, free: 230.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/5.554, allocations: 255 kB / 1.106 GB, free: 230.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.401/8.955, allocations: 1.312 kB / 1.106 GB, free: 230.4 MB / 0.7481 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)