Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008992/0.0008993, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.00568/0.00568, allocations: 170.4 kB / 16.27 MB, free: 6.652 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001721/0.001721, allocations: 286.6 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9325/0.9325, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004035, allocations: 18.05 kB / 0.5987 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1568, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.0178/0.1746, allocations: 16.49 MB / 0.7012 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008538/0.1832, allocations: 5.798 MB / 0.7069 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009561/0.1842, allocations: 47.81 kB / 0.7069 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007336/0.185, allocations: 316.1 kB / 0.7072 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.1865, allocations: 0.7969 MB / 0.708 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.1884, allocations: 0.8763 MB / 0.7089 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00556/0.194, allocations: 6.479 MB / 0.7152 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01035/0.2043, allocations: 7.96 MB / 0.723 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.2064, allocations: 1.292 MB / 0.7242 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003028/0.2095, allocations: 1.924 MB / 0.7261 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000356/0.2099, allocations: 192 kB / 0.7263 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.2112, allocations: 0.7215 MB / 0.727 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.2124, allocations: 1.388 MB / 0.7284 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.214, allocations: 1.409 MB / 0.7297 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005285/0.2193, allocations: 6.051 MB / 0.7357 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2193, allocations: 0 / 0.7357 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2193, allocations: 4 kB / 0.7357 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001271/0.2194, allocations: 0 / 0.7357 GB, free: 11.12 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.005155/0.2246, allocations: 2.467 MB / 0.7381 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2247, allocations: 8.031 kB / 0.7381 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005153/0.2298, allocations: 1.148 MB / 0.7392 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/0.2324, allocations: 1.604 MB / 0.7408 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.2325, allocations: 226.4 kB / 0.741 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004765/0.233, allocations: 292.3 kB / 0.7413 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008109/0.2411, allocations: 5.311 MB / 0.7464 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.716e-05/0.2412, allocations: 4 kB / 0.7464 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003151/0.2415, allocations: 124 kB / 0.7466 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002216/0.2418, allocations: 201.1 kB / 0.7468 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007263/0.249, allocations: 4.774 MB / 0.7514 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02483/0.2739, allocations: 23.2 MB / 0.7741 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2931/0.567, allocations: 3.181 MB / 0.7772 GB, free: 86.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.5685, allocations: 0.9097 MB / 0.7781 GB, free: 85.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.5687, allocations: 111.5 kB / 0.7782 GB, free: 85.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.5687, allocations: 48.67 kB / 0.7782 GB, free: 85.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 3.306e-06/0.5687, allocations: 1 kB / 0.7782 GB, free: 85.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003229/0.572, allocations: 2.091 MB / 0.7803 GB, free: 85.49 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.5721, allocations: 224.4 kB / 0.7805 GB, free: 85.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.5734, allocations: 1.096 MB / 0.7815 GB, free: 84.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.391e-05/0.5735, allocations: 43.05 kB / 0.7816 GB, free: 84.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/0.574, allocations: 1.276 MB / 0.7828 GB, free: 83.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.5742, allocations: 303.5 kB / 0.7831 GB, free: 83.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.5744, allocations: 130.1 kB / 0.7832 GB, free: 83.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.641e-05/0.5745, allocations: 343.7 kB / 0.7836 GB, free: 83.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.5757, allocations: 0.8919 MB / 0.7844 GB, free: 83.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.5771, allocations: 1.513 MB / 0.7859 GB, free: 81.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002411/0.5795, allocations: 2.374 MB / 0.7882 GB, free: 80.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.5796, allocations: 3.094 kB / 0.7882 GB, free: 80.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003434/0.583, allocations: 2.509 MB / 0.7907 GB, free: 79.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002549/0.5833, allocations: 0.637 MB / 0.7913 GB, free: 78.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.5833, allocations: 24.94 kB / 0.7913 GB, free: 78.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.053e-05/0.5834, allocations: 28.53 kB / 0.7914 GB, free: 78.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.5849, allocations: 463.5 kB / 0.7918 GB, free: 78.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.538e-05/0.585, allocations: 41.91 kB / 0.7919 GB, free: 78.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.5865, allocations: 346.1 kB / 0.7922 GB, free: 78.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.5866, allocations: 80.22 kB / 0.7923 GB, free: 78.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.5866, allocations: 5.875 kB / 0.7923 GB, free: 78.56 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002898/0.5895, allocations: 2.226 MB / 0.7944 GB, free: 77.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/0.5895, allocations: 20.88 kB / 0.7945 GB, free: 77.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.5896, allocations: 28.22 kB / 0.7945 GB, free: 77.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.591, allocations: 441 kB / 0.7949 GB, free: 77.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-05/0.591, allocations: 40.11 kB / 0.7949 GB, free: 77.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.5922, allocations: 252.3 kB / 0.7952 GB, free: 77.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.5924, allocations: 77.44 kB / 0.7953 GB, free: 77.61 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0018/0.5942, allocations: 1.279 MB / 0.7965 GB, free: 77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.5945, allocations: 97.03 kB / 0.7966 GB, free: 76.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.5969, allocations: 1.573 MB / 0.7981 GB, free: 76.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.5969, allocations: 9.25 kB / 0.7981 GB, free: 76.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.5969, allocations: 2.375 kB / 0.7981 GB, free: 76.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.597, allocations: 10.16 kB / 0.7982 GB, free: 76.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006133/0.6031, allocations: 4.5 MB / 0.8025 GB, free: 74.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.6031, allocations: 8.719 kB / 0.8026 GB, free: 74.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009587/0.6041, allocations: 251.1 kB / 0.8028 GB, free: 74.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/0.6041, allocations: 4.469 kB / 0.8028 GB, free: 74.44 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/0.6042, allocations: 18.03 kB / 0.8028 GB, free: 74.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/0.6042, allocations: 12.5 kB / 0.8028 GB, free: 74.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/0.6042, allocations: 1.812 kB / 0.8028 GB, free: 74.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.6064, allocations: 1.919 MB / 0.8047 GB, free: 73.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000489/0.6069, allocations: 361.5 kB / 0.8051 GB, free: 73.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.607, allocations: 18.02 kB / 0.8051 GB, free: 73.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/0.6079, allocations: 125.8 kB / 0.8052 GB, free: 73.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.608, allocations: 52.55 kB / 0.8052 GB, free: 73.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/0.6081, allocations: 20.34 kB / 0.8053 GB, free: 73.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009791/0.6091, allocations: 0.797 MB / 0.806 GB, free: 72.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6091, allocations: 0 / 0.806 GB, free: 72.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003265/0.6123, allocations: 1.305 MB / 0.8073 GB, free: 72.38 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001972/0.6125, allocations: 129.1 kB / 0.8074 GB, free: 72.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003904/0.6165, allocations: 2.988 MB / 0.8104 GB, free: 71.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6165, allocations: 320 / 0.8104 GB, free: 71.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007326/0.6172, allocations: 0.6664 MB / 0.811 GB, free: 70.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.6188, allocations: 182.2 kB / 0.8112 GB, free: 70.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006065/0.6248, allocations: 5.796 MB / 0.8168 GB, free: 67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/0.6264, allocations: 2.207 MB / 0.819 GB, free: 65.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002083/0.6285, allocations: 1.096 MB / 0.8201 GB, free: 65.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/0.6288, allocations: 95.03 kB / 0.8202 GB, free: 65.02 MB / 0.5606 GB Notification: Performance of SimCode: time 8.51e-07/0.6288, allocations: 1.094 kB / 0.8202 GB, free: 65.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.02078/0.6496, allocations: 15.06 MB / 0.8349 GB, free: 50.12 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)