Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001365/0.001365, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001579/0.00158, allocations: 197.2 kB / 16.25 MB, free: 6.621 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 291.1 kB / 290.3 MB, free: 2.035 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9283/0.9283, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 95.25 kB / 0.5948 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.187, allocations: 86.98 MB / 0.6797 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03839/0.2255, allocations: 34.79 MB / 0.7137 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01582/0.2413, allocations: 9.84 MB / 0.7233 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003231/0.2446, allocations: 135.2 kB / 0.7235 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.008884/0.2535, allocations: 3.57 MB / 0.7269 GB, free: 480 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005882/0.2594, allocations: 1.874 MB / 0.7288 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005741/0.2652, allocations: 1.793 MB / 0.7305 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01242/0.2776, allocations: 7.998 MB / 0.7383 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0207/0.2983, allocations: 11.7 MB / 0.7498 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006973/0.3053, allocations: 3.419 MB / 0.7531 GB, free: 5.535 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007173/0.3125, allocations: 3.906 MB / 0.7569 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002367/0.3149, allocations: 0.6797 MB / 0.7576 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0045/0.3194, allocations: 1.447 MB / 0.759 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004647/0.3241, allocations: 2.616 MB / 0.7616 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006875/0.331, allocations: 3.104 MB / 0.7646 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.4083/0.7393, allocations: 10.39 MB / 0.7747 GB, free: 37.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.7393, allocations: 0.9062 kB / 0.7747 GB, free: 37.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7394, allocations: 0 / 0.7747 GB, free: 37.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003863/0.7397, allocations: 0.6562 kB / 0.7747 GB, free: 37.27 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01699/0.7567, allocations: 5.398 MB / 0.78 GB, free: 35.47 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.7568, allocations: 10.28 kB / 0.78 GB, free: 35.47 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001959/0.7588, allocations: 0.7005 MB / 0.7807 GB, free: 35.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005757/0.7645, allocations: 0.9601 MB / 0.7816 GB, free: 35.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006602/0.7712, allocations: 2.991 MB / 0.7846 GB, free: 34.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002766/0.7715, allocations: 360.8 kB / 0.7849 GB, free: 34.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.7725, allocations: 468.4 kB / 0.7853 GB, free: 34.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/0.7879, allocations: 7.91 MB / 0.7931 GB, free: 33.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/0.7881, allocations: 18.17 kB / 0.7931 GB, free: 33.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004919/0.7886, allocations: 207.8 kB / 0.7933 GB, free: 33.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005659/0.7891, allocations: 370.4 kB / 0.7936 GB, free: 33.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.8005, allocations: 5.936 MB / 0.7994 GB, free: 33.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03963/0.8402, allocations: 36.21 MB / 0.8348 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/0.8437, allocations: 2.139 MB / 0.8369 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002137/0.8459, allocations: 1.485 MB / 0.8383 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.846, allocations: 16.84 kB / 0.8383 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/0.8461, allocations: 57.38 kB / 0.8384 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=157): time 3.917e-06/0.8461, allocations: 0 / 0.8384 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=160): time 0.01419/0.8603, allocations: 7.543 MB / 0.8458 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.8604, allocations: 68.56 kB / 0.8458 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00329/0.8637, allocations: 1.856 MB / 0.8476 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/0.8639, allocations: 57.52 kB / 0.8477 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001649/0.8655, allocations: 2.116 MB / 0.8498 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006003/0.8661, allocations: 0.5634 MB / 0.8503 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007543/0.8669, allocations: 411.3 kB / 0.8507 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.8671, allocations: 301.1 kB / 0.851 GB, free: 11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.8687, allocations: 1.058 MB / 0.852 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.8709, allocations: 1.765 MB / 0.8538 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003731/0.8747, allocations: 3.044 MB / 0.8567 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.8747, allocations: 6.094 kB / 0.8567 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006005/0.8807, allocations: 3.93 MB / 0.8606 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.8807, allocations: 18.72 kB / 0.8606 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.8808, allocations: 22.44 kB / 0.8606 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002373/0.8831, allocations: 0.9373 MB / 0.8615 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.8845, allocations: 429.2 kB / 0.8619 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02083/0.9053, allocations: 22.76 MB / 0.8842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.9077, allocations: 119.9 kB / 0.8843 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.9079, allocations: 100.1 kB / 0.8844 GB, free: 12.16 MB / 0.6075 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,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.00282/0.9108, allocations: 1.654 MB / 0.886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005518/0.9113, allocations: 253 kB / 0.8862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005254/0.9166, allocations: 3.262 MB / 0.8894 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.9166, allocations: 16 kB / 0.8894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.9166, allocations: 16 kB / 0.8894 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.9167, allocations: 7.969 kB / 0.8895 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.9291, allocations: 7.552 MB / 0.8968 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-06/0.9291, allocations: 4 kB / 0.8968 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008867/0.93, allocations: 210 kB / 0.897 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002286/0.9323, allocations: 0.9122 MB / 0.8979 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.9324, allocations: 32 kB / 0.898 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01992/0.9523, allocations: 22.74 MB / 0.9202 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.9524, allocations: 7.469 kB / 0.9202 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00565/0.958, allocations: 3.379 MB / 0.9235 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.9592, allocations: 0.5292 MB / 0.924 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/0.9594, allocations: 30.08 kB / 0.924 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009893/0.9604, allocations: 99.83 kB / 0.9241 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003796/0.9608, allocations: 144.3 kB / 0.9242 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.882e-05/0.9609, allocations: 48 kB / 0.9243 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001549/0.9625, allocations: 1.225 MB / 0.9255 GB, free: 332 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9625, allocations: 0 / 0.9255 GB, free: 332 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002685/0.9652, allocations: 0.9063 MB / 0.9264 GB, free: 15.41 MB / 0.6544 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00515/0.9703, allocations: 3.984 MB / 0.9303 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007875/0.9782, allocations: 5.203 MB / 0.9353 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.9783, allocations: 4 kB / 0.9353 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004057/0.9823, allocations: 2.986 MB / 0.9383 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003661/0.986, allocations: 0.8385 MB / 0.9391 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04417/1.03, allocations: 29.51 MB / 0.9679 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003307/1.034, allocations: 3.209 MB / 0.971 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001921/1.035, allocations: 0.5332 MB / 0.9716 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/1.037, allocations: 1.647 MB / 0.9732 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of SimCode: time 8.72e-07/1.037, allocations: 0 / 0.9732 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2424/1.28, allocations: 71 MB / 1.042 GB, free: 7.234 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/1.28, allocations: 266.9 kB / 1.043 GB, free: 6.977 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.303/4.583, allocations: 0 / 1.043 GB, free: 6.977 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)