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.001052/0.001052, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00111/0.00111, allocations: 190.9 kB / 16.25 MB, free: 6.625 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.324/1.324, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 287 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9257/0.9257, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 99.3 kB / 0.5948 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1498, allocations: 86.98 MB / 0.6797 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03825/0.1881, allocations: 37.59 MB / 0.7165 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01782/0.206, allocations: 10.89 MB / 0.7271 GB, free: 332 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003951/0.21, allocations: 139.2 kB / 0.7272 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.2202, allocations: 4.095 MB / 0.7312 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008183/0.2283, allocations: 2.045 MB / 0.7332 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005295/0.2337, allocations: 1.973 MB / 0.7351 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01083/0.2445, allocations: 9.307 MB / 0.7442 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01997/0.2645, allocations: 13.58 MB / 0.7575 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006459/0.271, allocations: 4.054 MB / 0.7615 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00657/0.2776, allocations: 4.713 MB / 0.7661 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002244/0.2799, allocations: 0.8242 MB / 0.7669 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003957/0.2839, allocations: 1.592 MB / 0.7684 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003998/0.2879, allocations: 3.146 MB / 0.7715 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.305/0.593, allocations: 3.654 MB / 0.7751 GB, free: 34.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01518/0.6082, allocations: 12.31 MB / 0.7871 GB, free: 34.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.6082, allocations: 0 / 0.7871 GB, free: 34.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6082, allocations: 0 / 0.7871 GB, free: 34.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003764/0.6086, allocations: 0 / 0.7871 GB, free: 34.38 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02149/0.6301, allocations: 6.309 MB / 0.7932 GB, free: 32.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.6302, allocations: 10.41 kB / 0.7933 GB, free: 32.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003565/0.6337, allocations: 0.8289 MB / 0.7941 GB, free: 32.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007174/0.6409, allocations: 1.063 MB / 0.7951 GB, free: 31.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008732/0.6497, allocations: 3.424 MB / 0.7984 GB, free: 31.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004647/0.6502, allocations: 427.9 kB / 0.7989 GB, free: 31.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004037/0.6542, allocations: 0.5471 MB / 0.7994 GB, free: 31.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02578/0.68, allocations: 9.377 MB / 0.8085 GB, free: 29.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/0.6802, allocations: 20.28 kB / 0.8086 GB, free: 29.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008021/0.681, allocations: 246.1 kB / 0.8088 GB, free: 29.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000568/0.6816, allocations: 421.8 kB / 0.8092 GB, free: 29.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01236/0.694, allocations: 7.121 MB / 0.8162 GB, free: 27.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04092/0.7349, allocations: 41.32 MB / 0.8565 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004321/0.7393, allocations: 3.099 MB / 0.8595 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002537/0.7419, allocations: 2.14 MB / 0.8616 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.742, allocations: 21.06 kB / 0.8616 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.742, allocations: 67.98 kB / 0.8617 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 3.477e-06/0.742, allocations: 2.625 kB / 0.8617 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.02205/0.7641, allocations: 10.56 MB / 0.872 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.7642, allocations: 80.72 kB / 0.8721 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002688/0.7669, allocations: 1.998 MB / 0.874 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.7671, allocations: 61.7 kB / 0.8741 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.7685, allocations: 2.403 MB / 0.8765 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006924/0.7692, allocations: 0.7362 MB / 0.8772 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007902/0.77, allocations: 481.2 kB / 0.8776 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.7701, allocations: 301.1 kB / 0.8779 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001897/0.772, allocations: 1.376 MB / 0.8793 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/0.7744, allocations: 2.108 MB / 0.8813 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004663/0.7791, allocations: 3.764 MB / 0.885 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.7791, allocations: 4 kB / 0.885 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008319/0.7874, allocations: 5.069 MB / 0.8899 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/0.7875, allocations: 16.22 kB / 0.89 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/0.7875, allocations: 24 kB / 0.89 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003597/0.7911, allocations: 1.598 MB / 0.8915 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.793, allocations: 452.2 kB / 0.892 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/0.8146, allocations: 18.58 MB / 0.9101 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/0.8173, allocations: 139.9 kB / 0.9103 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003187/0.8176, allocations: 116 kB / 0.9104 GB, free: 5.18 MB / 0.6231 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.003954/0.8216, allocations: 1.939 MB / 0.9123 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007668/0.8224, allocations: 295.4 kB / 0.9125 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007025/0.8294, allocations: 4.446 MB / 0.9169 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.8295, allocations: 24 kB / 0.9169 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/0.8295, allocations: 20 kB / 0.9169 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.8295, allocations: 11.95 kB / 0.9169 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.8438, allocations: 9.677 MB / 0.9264 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/0.8439, allocations: 4 kB / 0.9264 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009312/0.8448, allocations: 231.1 kB / 0.9266 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003222/0.848, allocations: 1.433 MB / 0.928 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001786/0.8482, allocations: 40 kB / 0.9281 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02207/0.8703, allocations: 18.58 MB / 0.9462 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.8703, allocations: 8.031 kB / 0.9462 GB, free: 24 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007644/0.878, allocations: 4.543 MB / 0.9506 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/0.8797, allocations: 0.6373 MB / 0.9513 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003725/0.88, allocations: 39.91 kB / 0.9513 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.8813, allocations: 115.9 kB / 0.9514 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005761/0.8819, allocations: 176.7 kB / 0.9516 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.882, allocations: 60 kB / 0.9516 GB, free: 10.42 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001802/0.8838, allocations: 1.327 MB / 0.9529 GB, free: 9.082 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8838, allocations: 0 / 0.9529 GB, free: 9.082 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003513/0.8873, allocations: 1.137 MB / 0.954 GB, free: 7.945 MB / 0.67 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.006957/0.8943, allocations: 5.16 MB / 0.9591 GB, free: 2.766 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009641/0.904, allocations: 5.914 MB / 0.9649 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.904, allocations: 0 / 0.9649 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004423/0.9085, allocations: 2.931 MB / 0.9677 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003917/0.9124, allocations: 0.8871 MB / 0.9686 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05688/0.9693, allocations: 35.93 MB / 1.004 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005255/0.9746, allocations: 3.694 MB / 1.007 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002218/0.9768, allocations: 0.5518 MB / 1.008 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002519/0.9793, allocations: 1.948 MB / 1.01 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of SimCode: time 1.523e-06/0.9794, allocations: 0 / 1.01 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.925/3.905, allocations: 85.79 MB / 1.094 GB, free: 272.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/3.905, allocations: 255.1 kB / 1.094 GB, free: 271.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.619/8.524, allocations: 2.672 kB / 1.094 GB, free: 271.9 MB / 0.7637 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)