Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.004813/0.004813, allocations: 101.7 kB / 15.73 MB, free: 6.059 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.001281/0.001281, allocations: 196.4 kB / 16.68 MB, free: 5.969 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002573/0.002574, allocations: 282.8 kB / 290.8 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002961/0.002961, allocations: 88.28 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1802, allocations: 86.97 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.4102/0.5905, allocations: 34.83 MB / 0.7999 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02331/0.6138, allocations: 11.49 MB / 0.8112 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005842/0.6197, allocations: 163 kB / 0.8113 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01346/0.6332, allocations: 4.247 MB / 0.8155 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007652/0.6409, allocations: 1.998 MB / 0.8174 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008786/0.6497, allocations: 2.399 MB / 0.8198 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01355/0.6633, allocations: 8.464 MB / 0.828 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.022/0.6853, allocations: 11.13 MB / 0.8389 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008778/0.6942, allocations: 3.748 MB / 0.8425 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009096/0.7033, allocations: 4.185 MB / 0.8466 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003372/0.7067, allocations: 0.7812 MB / 0.8474 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007545/0.7142, allocations: 2.032 MB / 0.8494 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0065/0.7208, allocations: 3.053 MB / 0.8524 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009909/0.7307, allocations: 3.4 MB / 0.8557 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01924/0.75, allocations: 12.02 MB / 0.8674 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.7501, allocations: 0 / 0.8674 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7501, allocations: 0 / 0.8674 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003622/0.7505, allocations: 0 / 0.8674 GB, free: 12.18 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01573/0.7662, allocations: 5.939 MB / 0.8732 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.7662, allocations: 8.031 kB / 0.8732 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002001/0.7683, allocations: 0.809 MB / 0.874 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006497/0.7748, allocations: 1.09 MB / 0.8751 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007915/0.7827, allocations: 3.467 MB / 0.8785 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005027/0.7832, allocations: 411.5 kB / 0.8789 GB, free: 320 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002321/0.7856, allocations: 0.5432 MB / 0.8794 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02319/0.8088, allocations: 9.075 MB / 0.8883 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002757/0.8091, allocations: 31.78 kB / 0.8883 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001604/0.8107, allocations: 236 kB / 0.8885 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004781/0.8112, allocations: 346.8 kB / 0.8888 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01632/0.8276, allocations: 6.826 MB / 0.8955 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05349/0.8811, allocations: 39.86 MB / 0.9344 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004409/0.8855, allocations: 3.11 MB / 0.9375 GB, free: 124 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00307/0.8886, allocations: 1.974 MB / 0.9394 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.8888, allocations: 29.98 kB / 0.9394 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.8889, allocations: 48.56 kB / 0.9395 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=179): time 5.881e-06/0.8889, allocations: 0 / 0.9395 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.02642/0.9153, allocations: 10.06 MB / 0.9493 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.9154, allocations: 69.41 kB / 0.9494 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002829/0.9183, allocations: 1.526 MB / 0.9509 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002538/0.9185, allocations: 57.7 kB / 0.9509 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002029/0.9206, allocations: 2.324 MB / 0.9532 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008717/0.9215, allocations: 0.6662 MB / 0.9538 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009383/0.9224, allocations: 412.1 kB / 0.9542 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.9226, allocations: 304.9 kB / 0.9545 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.9245, allocations: 1.179 MB / 0.9557 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002863/0.9273, allocations: 1.885 MB / 0.9575 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005339/0.9327, allocations: 3.367 MB / 0.9608 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.91e-05/0.9328, allocations: 12 kB / 0.9608 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008625/0.9414, allocations: 4.59 MB / 0.9653 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.9415, allocations: 12 kB / 0.9653 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.605e-05/0.9415, allocations: 24 kB / 0.9653 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003994/0.9455, allocations: 1.582 MB / 0.9669 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.9468, allocations: 351.3 kB / 0.9672 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02641/0.9732, allocations: 18.61 MB / 0.9854 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.9751, allocations: 115.9 kB / 0.9855 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003413/0.9755, allocations: 96 kB / 0.9856 GB, free: 13.44 MB / 0.7481 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003597/0.9791, allocations: 1.895 MB / 0.9874 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006248/0.9797, allocations: 234.7 kB / 0.9877 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007973/0.9877, allocations: 4.094 MB / 0.9916 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.9878, allocations: 16 kB / 0.9917 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-05/0.9878, allocations: 20 kB / 0.9917 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.9878, allocations: 15.89 kB / 0.9917 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02038/1.008, allocations: 9.461 MB / 1.001 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/1.008, allocations: 4.562 kB / 1.001 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008171/1.009, allocations: 179.7 kB / 1.001 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003533/1.013, allocations: 1.357 MB / 1.002 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001599/1.013, allocations: 36 kB / 1.002 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02401/1.037, allocations: 17.37 MB / 1.019 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/1.037, allocations: 7.938 kB / 1.019 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007659/1.045, allocations: 4.079 MB / 1.023 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/1.046, allocations: 0.5346 MB / 1.024 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004755/1.046, allocations: 39.98 kB / 1.024 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.048, allocations: 87.89 kB / 1.024 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005193/1.048, allocations: 161.7 kB / 1.024 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.048, allocations: 48 kB / 1.024 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001728/1.05, allocations: 1.001 MB / 1.025 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/1.05, allocations: 3.938 kB / 1.025 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003735/1.054, allocations: 0.9921 MB / 1.026 GB, free: 2.824 MB / 0.7794 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007712/1.061, allocations: 4.677 MB / 1.031 GB, free: 14.05 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007555/1.069, allocations: 4.308 MB / 1.035 GB, free: 9.688 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.069, allocations: 4.125 kB / 1.035 GB, free: 9.684 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004713/1.074, allocations: 2.673 MB / 1.038 GB, free: 6.965 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00388/1.078, allocations: 0.7866 MB / 1.038 GB, free: 6.227 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04947/1.127, allocations: 27 MB / 1.065 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005368/1.133, allocations: 3.576 MB / 1.068 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001471/1.134, allocations: 459.9 kB / 1.069 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002368/1.136, allocations: 1.792 MB / 1.07 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of SimCode: time 1.623e-06/1.136, allocations: 4 kB / 1.07 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5125/1.649, allocations: 73.94 MB / 1.143 GB, free: 255.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/15.09, allocations: 10.27 kB / 1.143 GB, free: 255.6 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)