Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.005042/0.005042, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001147/0.001147, allocations: 191.3 kB / 16.67 MB, free: 5.973 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 282.8 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9408/0.9408, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 99.84 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1566, allocations: 86.98 MB / 0.7659 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.3714/0.5281, allocations: 37.93 MB / 0.803 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02138/0.5495, allocations: 10.99 MB / 0.8137 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004837/0.5544, allocations: 161 kB / 0.8139 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0124/0.5668, allocations: 4.356 MB / 0.8181 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007279/0.5741, allocations: 2.334 MB / 0.8204 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00659/0.5807, allocations: 2.177 MB / 0.8225 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01218/0.5929, allocations: 9.306 MB / 0.8316 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02062/0.6136, allocations: 11.25 MB / 0.8426 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008451/0.6221, allocations: 4.054 MB / 0.8465 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008896/0.631, allocations: 4.516 MB / 0.851 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003013/0.634, allocations: 0.8203 MB / 0.8518 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005809/0.6399, allocations: 1.588 MB / 0.8533 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005454/0.6454, allocations: 3.15 MB / 0.8564 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01099/0.6564, allocations: 3.653 MB / 0.8599 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01836/0.6748, allocations: 12.31 MB / 0.872 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.6749, allocations: 0 / 0.872 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.767e-06/0.6749, allocations: 7.922 kB / 0.872 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003759/0.6753, allocations: 0 / 0.872 GB, free: 7.457 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01525/0.6905, allocations: 6.315 MB / 0.8781 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.6906, allocations: 12.03 kB / 0.8782 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002106/0.6927, allocations: 0.8294 MB / 0.879 GB, free: 224 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005918/0.6986, allocations: 1.059 MB / 0.88 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008057/0.7067, allocations: 3.618 MB / 0.8835 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004739/0.7072, allocations: 419.8 kB / 0.8839 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00239/0.7096, allocations: 0.547 MB / 0.8845 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02357/0.7332, allocations: 9.389 MB / 0.8936 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003111/0.7336, allocations: 19.81 kB / 0.8937 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002103/0.7357, allocations: 248 kB / 0.8939 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007373/0.7365, allocations: 414.9 kB / 0.8943 GB, free: 132 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01484/0.7513, allocations: 7.124 MB / 0.9012 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05429/0.8056, allocations: 41.01 MB / 0.9413 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005447/0.8111, allocations: 3.104 MB / 0.9443 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003307/0.8145, allocations: 2.153 MB / 0.9464 GB, free: 6.988 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/0.8147, allocations: 25.94 kB / 0.9465 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.257e-05/0.8148, allocations: 72.41 kB / 0.9465 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=209): time 4.578e-06/0.8148, allocations: 0 / 0.9465 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of matching and sorting (n=212): time 0.02534/0.8401, allocations: 10.55 MB / 0.9568 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.8402, allocations: 77.34 kB / 0.9569 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/0.8437, allocations: 2.005 MB / 0.9589 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002585/0.844, allocations: 65.7 kB / 0.9589 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001557/0.8456, allocations: 2.404 MB / 0.9613 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008212/0.8464, allocations: 0.7316 MB / 0.962 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/0.8475, allocations: 481.2 kB / 0.9624 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.166e-05/0.8476, allocations: 301.1 kB / 0.9627 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/0.8496, allocations: 1.376 MB / 0.9641 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002628/0.8523, allocations: 2.1 MB / 0.9661 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004949/0.8572, allocations: 3.77 MB / 0.9698 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/0.8573, allocations: 8 kB / 0.9698 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008739/0.866, allocations: 5.064 MB / 0.9748 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.8661, allocations: 12 kB / 0.9748 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/0.8661, allocations: 24 kB / 0.9748 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003604/0.8697, allocations: 1.586 MB / 0.9763 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.8715, allocations: 459.2 kB / 0.9768 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0233/0.8948, allocations: 18.57 MB / 0.9949 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/0.8972, allocations: 152 kB / 0.9951 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004159/0.8976, allocations: 112 kB / 0.9952 GB, free: 3.652 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004032/0.9017, allocations: 1.942 MB / 0.9971 GB, free: 1.699 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009345/0.9026, allocations: 288.6 kB / 0.9973 GB, free: 1.414 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007825/0.9105, allocations: 4.447 MB / 1.002 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.9105, allocations: 24 kB / 1.002 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.525e-05/0.9105, allocations: 20 kB / 1.002 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/0.9106, allocations: 11.95 kB / 1.002 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/0.9277, allocations: 9.66 MB / 1.011 GB, free: 3.078 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.9278, allocations: 4 kB / 1.011 GB, free: 3.074 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.9288, allocations: 239.6 kB / 1.011 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003462/0.9323, allocations: 1.423 MB / 1.013 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/0.9325, allocations: 47.98 kB / 1.013 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02176/0.9543, allocations: 18.56 MB / 1.031 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.9543, allocations: 4 kB / 1.031 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006972/0.9613, allocations: 4.537 MB / 1.035 GB, free: 9.602 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/0.9628, allocations: 0.6342 MB / 1.036 GB, free: 8.945 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003702/0.9632, allocations: 44 kB / 1.036 GB, free: 8.902 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.9644, allocations: 115.9 kB / 1.036 GB, free: 8.789 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004844/0.9649, allocations: 181.4 kB / 1.036 GB, free: 8.613 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.965, allocations: 56 kB / 1.036 GB, free: 8.559 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001923/0.9669, allocations: 1.327 MB / 1.038 GB, free: 7.223 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9669, allocations: 3.938 kB / 1.038 GB, free: 7.219 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003592/0.9705, allocations: 1.145 MB / 1.039 GB, free: 6.074 MB / 0.795 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007355/0.9779, allocations: 5.152 MB / 1.044 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.008056/0.986, allocations: 4.708 MB / 1.048 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.9861, allocations: 4 kB / 1.048 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004929/0.991, allocations: 2.914 MB / 1.051 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004002/0.995, allocations: 0.9039 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04507/1.04, allocations: 30.39 MB / 1.082 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004674/1.045, allocations: 3.69 MB / 1.085 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001842/1.047, allocations: 0.5556 MB / 1.086 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002195/1.049, allocations: 1.948 MB / 1.088 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of SimCode: time 1.062e-06/1.049, allocations: 0 / 1.088 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4897/1.539, allocations: 85.28 MB / 1.171 GB, free: 228.4 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/16.31, allocations: 11.84 kB / 1.171 GB, free: 228.3 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)