Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.005132/0.005132, allocations: 101.3 kB / 15.73 MB, free: 6.453 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.001474/0.001474, allocations: 194.9 kB / 16.67 MB, free: 6.355 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002392/0.002392, allocations: 290.5 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9433/0.9433, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002545/0.002545, allocations: 92.22 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1471, allocations: 86.98 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.3167/0.4638, allocations: 22.59 MB / 0.788 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008533/0.4724, allocations: 6.22 MB / 0.794 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.4738, allocations: 96.91 kB / 0.7941 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003635/0.4774, allocations: 1.55 MB / 0.7957 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003534/0.481, allocations: 1.62 MB / 0.7972 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.4841, allocations: 1.334 MB / 0.7985 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006781/0.4909, allocations: 5.944 MB / 0.8043 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009212/0.5001, allocations: 6.049 MB / 0.8103 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004576/0.5047, allocations: 2.417 MB / 0.8126 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005666/0.5104, allocations: 2.869 MB / 0.8154 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001479/0.5119, allocations: 457 kB / 0.8158 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003313/0.5152, allocations: 1.098 MB / 0.8169 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003786/0.519, allocations: 2.028 MB / 0.8189 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005514/0.5246, allocations: 2.168 MB / 0.821 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.5348, allocations: 7.318 MB / 0.8282 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5348, allocations: 4.906 kB / 0.8282 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5348, allocations: 0 / 0.8282 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000211/0.535, allocations: 0 / 0.8282 GB, free: 14.84 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.009095/0.5441, allocations: 3.911 MB / 0.832 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.5442, allocations: 9.156 kB / 0.832 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000751/0.5449, allocations: 0.5055 MB / 0.8325 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005768/0.5507, allocations: 1.233 MB / 0.8337 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004878/0.5556, allocations: 2.351 MB / 0.836 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.5558, allocations: 238.8 kB / 0.8362 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007961/0.5566, allocations: 314.3 kB / 0.8365 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009648/0.5663, allocations: 6.219 MB / 0.8426 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.637e-05/0.5664, allocations: 15.88 kB / 0.8426 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003734/0.5667, allocations: 139.9 kB / 0.8427 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005241/0.5673, allocations: 406.3 kB / 0.8431 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007739/0.575, allocations: 4.658 MB / 0.8477 GB, free: 72 kB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03215/0.6072, allocations: 29 MB / 0.876 GB, free: 364 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.6093, allocations: 1.412 MB / 0.8774 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.6113, allocations: 1.487 MB / 0.8788 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.6115, allocations: 17 kB / 0.8788 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.6115, allocations: 47.5 kB / 0.8789 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 2.995e-06/0.6115, allocations: 0 / 0.8789 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of matching and sorting (n=179): time 0.1302/0.7417, allocations: 37.28 MB / 0.9153 GB, free: 8.02 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.7418, allocations: 81.33 kB / 0.9154 GB, free: 7.926 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.7438, allocations: 1.419 MB / 0.9168 GB, free: 6.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001914/0.744, allocations: 49.7 kB / 0.9168 GB, free: 6.445 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.7451, allocations: 1.594 MB / 0.9184 GB, free: 4.836 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006242/0.7457, allocations: 0.6351 MB / 0.919 GB, free: 4.195 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007103/0.7464, allocations: 379.5 kB / 0.9194 GB, free: 3.816 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.7466, allocations: 309.1 kB / 0.9196 GB, free: 3.512 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002531/0.7491, allocations: 1.784 MB / 0.9214 GB, free: 1.723 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002956/0.7521, allocations: 2.35 MB / 0.9237 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005747/0.7578, allocations: 4.391 MB / 0.928 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.7578, allocations: 4 kB / 0.928 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0173/0.7751, allocations: 8.571 MB / 0.9363 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.7752, allocations: 12.94 kB / 0.9364 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/0.7752, allocations: 16 kB / 0.9364 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01408/0.7893, allocations: 4.636 MB / 0.9409 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.7904, allocations: 303.4 kB / 0.9412 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04684/0.8373, allocations: 32.64 MB / 0.9731 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/0.8393, allocations: 151.8 kB / 0.9732 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/0.8396, allocations: 84 kB / 0.9733 GB, free: 11.18 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002304/0.8419, allocations: 1.339 MB / 0.9746 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004808/0.8424, allocations: 210.7 kB / 0.9748 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01718/0.8596, allocations: 8.429 MB / 0.983 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/0.8596, allocations: 23.94 kB / 0.9831 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.607e-05/0.8597, allocations: 28 kB / 0.9831 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.316e-05/0.8597, allocations: 7.969 kB / 0.9831 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02524/0.885, allocations: 12.84 MB / 0.9956 GB, free: 4.086 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.885, allocations: 12.06 kB / 0.9956 GB, free: 4.074 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.8857, allocations: 163.7 kB / 0.9958 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01359/0.8993, allocations: 4.485 MB / 1 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/0.8995, allocations: 43.94 kB / 1 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04537/0.9449, allocations: 32.23 MB / 1.032 GB, free: 14.29 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.9449, allocations: 7.938 kB / 1.032 GB, free: 14.28 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/0.9618, allocations: 8.249 MB / 1.04 GB, free: 5.902 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/0.9633, allocations: 0.6245 MB / 1.04 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006259/0.9639, allocations: 43.94 kB / 1.04 GB, free: 5.215 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/0.9655, allocations: 136.2 kB / 1.041 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007786/0.9663, allocations: 172.9 kB / 1.041 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/0.9665, allocations: 55.94 kB / 1.041 GB, free: 4.855 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001554/0.9681, allocations: 0.9548 MB / 1.042 GB, free: 3.906 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9681, allocations: 0 / 1.042 GB, free: 3.906 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00383/0.9719, allocations: 1.117 MB / 1.043 GB, free: 2.789 MB / 0.795 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01699/0.9889, allocations: 8.845 MB / 1.051 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01242/1.001, allocations: 6.554 MB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.001, allocations: 0 / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.008894/1.01, allocations: 4.377 MB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/1.013, allocations: 0.5295 MB / 1.063 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3372/1.35, allocations: 33.73 MB / 1.096 GB, free: 274.2 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002641/1.353, allocations: 2.727 MB / 1.098 GB, free: 273.4 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001026/1.354, allocations: 387.5 kB / 1.099 GB, free: 273.4 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.355, allocations: 1.217 MB / 1.1 GB, free: 273.4 MB / 0.8419 GB Notification: Performance of SimCode: time 7.52e-07/1.355, allocations: 0 / 1.1 GB, free: 273.4 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.115/6.47, allocations: 83.93 MB / 1.182 GB, free: 228 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.48/26.95, allocations: 13.12 kB / 1.182 GB, free: 228 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)