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.0008596/0.0008596, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005186/0.005186, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.255/1.255, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001701/0.001701, allocations: 275 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8921/0.8921, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003775, allocations: 15.55 kB / 0.5988 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 88.54 MB / 0.6852 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03038/0.1714, allocations: 29.7 MB / 0.7143 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02216/0.1936, allocations: 13.41 MB / 0.7273 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003228/0.1969, allocations: 123.2 kB / 0.7275 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.1994, allocations: 0.6512 MB / 0.7281 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007254/0.2066, allocations: 2.476 MB / 0.7305 GB, free: 460 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004135/0.2108, allocations: 1.714 MB / 0.7322 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01224/0.223, allocations: 10.43 MB / 0.7424 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01652/0.2396, allocations: 10.19 MB / 0.7523 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004973/0.2446, allocations: 2.591 MB / 0.7549 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005077/0.2497, allocations: 2.942 MB / 0.7577 GB, free: 4.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001168/0.2509, allocations: 244 kB / 0.758 GB, free: 4.191 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003539/0.2544, allocations: 1.384 MB / 0.7593 GB, free: 2.805 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002796/0.2573, allocations: 1.921 MB / 0.7612 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.3298/0.587, allocations: 2.376 MB / 0.7635 GB, free: 24.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.6, allocations: 9.019 MB / 0.7723 GB, free: 24.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.6, allocations: 1.969 kB / 0.7723 GB, free: 24.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6, allocations: 0 / 0.7723 GB, free: 24.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003029/0.6003, allocations: 0 / 0.7723 GB, free: 24.11 MB / 0.545 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.01223/0.6126, allocations: 4.147 MB / 0.7764 GB, free: 22.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.6126, allocations: 12.19 kB / 0.7764 GB, free: 22.23 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001618/0.6143, allocations: 0.618 MB / 0.777 GB, free: 22.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005809/0.6201, allocations: 1.005 MB / 0.778 GB, free: 21.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005263/0.6254, allocations: 2.891 MB / 0.7808 GB, free: 21.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.6256, allocations: 315.6 kB / 0.7811 GB, free: 21.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000881/0.6265, allocations: 421.2 kB / 0.7815 GB, free: 21.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/0.6404, allocations: 6.794 MB / 0.7881 GB, free: 20.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001773/0.6406, allocations: 21.66 kB / 0.7881 GB, free: 20.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007641/0.6414, allocations: 183.6 kB / 0.7883 GB, free: 20.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001026/0.6425, allocations: 372 kB / 0.7887 GB, free: 20.33 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01117/0.6536, allocations: 5.115 MB / 0.7937 GB, free: 20.28 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03159/0.6853, allocations: 30.79 MB / 0.8237 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.6869, allocations: 1.39 MB / 0.8251 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.6884, allocations: 1.329 MB / 0.8264 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.941e-05/0.6885, allocations: 23.44 kB / 0.8264 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.6886, allocations: 52.78 kB / 0.8265 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=130): time 3.216e-06/0.6886, allocations: 0 / 0.8265 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=199): time 0.08417/0.7728, allocations: 22.79 MB / 0.8487 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.7729, allocations: 73.41 kB / 0.8488 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003063/0.7759, allocations: 2.062 MB / 0.8508 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002716/0.7762, allocations: 61.7 kB / 0.8509 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.7776, allocations: 2.009 MB / 0.8528 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006684/0.7783, allocations: 0.6739 MB / 0.8535 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.7786, allocations: 186.3 kB / 0.8537 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.7787, allocations: 305.1 kB / 0.8539 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00202/0.7807, allocations: 1.43 MB / 0.8553 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/0.7831, allocations: 2.014 MB / 0.8573 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004617/0.7878, allocations: 3.694 MB / 0.8609 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.7878, allocations: 7.562 kB / 0.8609 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01085/0.7986, allocations: 5.656 MB / 0.8664 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.7987, allocations: 12.19 kB / 0.8665 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.7987, allocations: 20 kB / 0.8665 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006535/0.8053, allocations: 2.087 MB / 0.8685 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.8069, allocations: 374.4 kB / 0.8689 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03501/0.8419, allocations: 35.54 MB / 0.9036 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/0.8446, allocations: 135.9 kB / 0.9037 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/0.8448, allocations: 91.94 kB / 0.9038 GB, free: 1.891 MB / 0.6231 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.002923/0.8477, allocations: 1.504 MB / 0.9053 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004729/0.8482, allocations: 284.6 kB / 0.9055 GB, free: 124 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/0.8583, allocations: 5.212 MB / 0.9106 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.8583, allocations: 20 kB / 0.9106 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.125e-05/0.8584, allocations: 16 kB / 0.9107 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.8584, allocations: 19.53 kB / 0.9107 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/0.8748, allocations: 9.676 MB / 0.9201 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.8749, allocations: 8 kB / 0.9201 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008181/0.8757, allocations: 223.4 kB / 0.9204 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005505/0.8812, allocations: 1.848 MB / 0.9222 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.8813, allocations: 36 kB / 0.9222 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03375/0.9151, allocations: 34.55 MB / 0.9559 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.9151, allocations: 11.75 kB / 0.9559 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008935/0.9241, allocations: 4.908 MB / 0.9607 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/0.9255, allocations: 0.6212 MB / 0.9613 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/0.9258, allocations: 43.98 kB / 0.9614 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.9271, allocations: 127.8 kB / 0.9615 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005713/0.9277, allocations: 185.2 kB / 0.9617 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.9279, allocations: 60 kB / 0.9617 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001858/0.9297, allocations: 1.382 MB / 0.9631 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9297, allocations: 0 / 0.9631 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003389/0.9331, allocations: 1.051 MB / 0.9641 GB, free: 1.719 MB / 0.6856 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.00873/0.9419, allocations: 5.535 MB / 0.9695 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009464/0.9513, allocations: 6.274 MB / 0.9756 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.9514, allocations: 0.875 kB / 0.9756 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006356/0.9577, allocations: 4.404 MB / 0.9799 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006084/0.9638, allocations: 0.9276 MB / 0.9809 GB, free: 184 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05717/1.021, allocations: 35.96 MB / 1.016 GB, free: 10 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003799/1.025, allocations: 3.125 MB / 1.019 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00203/1.027, allocations: 0.5237 MB / 1.02 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001821/1.029, allocations: 1.67 MB / 1.021 GB, free: 4.645 MB / 0.7481 GB Notification: Performance of SimCode: time 1.463e-06/1.029, allocations: 2.625 kB / 1.021 GB, free: 4.645 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9767/2.006, allocations: 85.74 MB / 1.105 GB, free: 238.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/2.006, allocations: 252.4 kB / 1.105 GB, free: 238.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.734/5.739, allocations: 2.5 kB / 1.105 GB, free: 238.7 MB / 0.7637 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)