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.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00128/0.00128, allocations: 191.2 kB / 16.14 MB, free: 6.707 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.372/1.372, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001974/0.001974, allocations: 283 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9716/0.9716, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 88.77 kB / 0.5945 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1916, allocations: 86.99 MB / 0.6795 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01962/0.2113, allocations: 17.05 MB / 0.6961 GB, free: 64 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009658/0.221, allocations: 5.871 MB / 0.7018 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.2226, allocations: 43.88 kB / 0.7019 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.2259, allocations: 1.203 MB / 0.7031 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002888/0.2288, allocations: 0.7863 MB / 0.7038 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004016/0.2328, allocations: 1.227 MB / 0.705 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00579/0.2386, allocations: 6.479 MB / 0.7114 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009927/0.2486, allocations: 7.639 MB / 0.7188 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/0.2511, allocations: 1.612 MB / 0.7204 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003423/0.2545, allocations: 2.337 MB / 0.7227 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009591/0.2555, allocations: 320 kB / 0.723 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.2575, allocations: 0.8465 MB / 0.7238 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002049/0.2596, allocations: 1.598 MB / 0.7254 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002366/0.262, allocations: 1.622 MB / 0.7269 GB, free: 340 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004956/0.2669, allocations: 6.272 MB / 0.7331 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.267, allocations: 0 / 0.7331 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.12e-07/0.267, allocations: 0 / 0.7331 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.044e-05/0.2671, allocations: 0 / 0.7331 GB, free: 10.04 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.005047/0.2721, allocations: 3.077 MB / 0.7361 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2722, allocations: 8.031 kB / 0.7361 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004874/0.277, allocations: 1.117 MB / 0.7372 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.2795, allocations: 1.596 MB / 0.7387 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.2797, allocations: 226.4 kB / 0.739 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00043/0.2801, allocations: 292.3 kB / 0.7392 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007821/0.288, allocations: 5.304 MB / 0.7444 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.881e-05/0.288, allocations: 3.938 kB / 0.7444 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003037/0.2883, allocations: 128 kB / 0.7445 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002179/0.2886, allocations: 205 kB / 0.7447 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006917/0.2955, allocations: 4.755 MB / 0.7494 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3125/0.6081, allocations: 23.18 MB / 0.772 GB, free: 85.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004542/0.6126, allocations: 3.171 MB / 0.7751 GB, free: 84.03 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.6139, allocations: 0.9192 MB / 0.776 GB, free: 83.97 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.614, allocations: 99.77 kB / 0.7761 GB, free: 83.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.6141, allocations: 51.47 kB / 0.7761 GB, free: 83.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.525e-06/0.6141, allocations: 0 / 0.7761 GB, free: 83.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.002883/0.617, allocations: 2.078 MB / 0.7782 GB, free: 83.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.617, allocations: 224.4 kB / 0.7784 GB, free: 83.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.6184, allocations: 1.092 MB / 0.7795 GB, free: 83.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.6185, allocations: 45.33 kB / 0.7795 GB, free: 83.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/0.619, allocations: 1.28 MB / 0.7808 GB, free: 82.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.6192, allocations: 302.9 kB / 0.781 GB, free: 82.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004582/0.6197, allocations: 352 kB / 0.7814 GB, free: 81.97 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.604e-05/0.6197, allocations: 342.2 kB / 0.7817 GB, free: 81.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.6209, allocations: 0.8976 MB / 0.7826 GB, free: 81.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.6224, allocations: 1.512 MB / 0.7841 GB, free: 80.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002538/0.6249, allocations: 2.357 MB / 0.7864 GB, free: 78.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.625, allocations: 6.219 kB / 0.7864 GB, free: 78.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003594/0.6286, allocations: 2.492 MB / 0.7888 GB, free: 77.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.6286, allocations: 13.36 kB / 0.7888 GB, free: 77.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.6286, allocations: 20.19 kB / 0.7888 GB, free: 77.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.001e-05/0.6287, allocations: 26.56 kB / 0.7889 GB, free: 77.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.6302, allocations: 465.4 kB / 0.7893 GB, free: 77.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.984e-05/0.6302, allocations: 42.48 kB / 0.7893 GB, free: 77.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.6317, allocations: 349.8 kB / 0.7897 GB, free: 77.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.6318, allocations: 78.67 kB / 0.7897 GB, free: 77.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002581/0.6344, allocations: 1.908 MB / 0.7916 GB, free: 77.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001306/0.6357, allocations: 1.439 MB / 0.793 GB, free: 76.01 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002251/0.638, allocations: 2.2 MB / 0.7952 GB, free: 74.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.529e-05/0.638, allocations: 5.25 kB / 0.7952 GB, free: 74.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003463/0.6415, allocations: 2.327 MB / 0.7974 GB, free: 73.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.6415, allocations: 12.91 kB / 0.7975 GB, free: 73.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.6416, allocations: 19.5 kB / 0.7975 GB, free: 73.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.6416, allocations: 28.94 kB / 0.7975 GB, free: 73.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.6429, allocations: 440 kB / 0.7979 GB, free: 73.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.352e-05/0.643, allocations: 40.17 kB / 0.798 GB, free: 73.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.6443, allocations: 291.6 kB / 0.7982 GB, free: 73.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.6445, allocations: 76.72 kB / 0.7983 GB, free: 73.59 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.000372/0.6448, allocations: 289.2 kB / 0.7986 GB, free: 73.33 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/0.6451, allocations: 96.62 kB / 0.7987 GB, free: 73.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.6473, allocations: 1.563 MB / 0.8002 GB, free: 72.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.6473, allocations: 9.688 kB / 0.8002 GB, free: 72.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.6473, allocations: 1.406 kB / 0.8002 GB, free: 72.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.6473, allocations: 6.328 kB / 0.8002 GB, free: 72.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006331/0.6536, allocations: 4.492 MB / 0.8046 GB, free: 70.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.6537, allocations: 2.75 kB / 0.8046 GB, free: 70.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009544/0.6546, allocations: 251.2 kB / 0.8049 GB, free: 70.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.6547, allocations: 5.5 kB / 0.8049 GB, free: 70.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/0.6547, allocations: 17.48 kB / 0.8049 GB, free: 70.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.6547, allocations: 4.125 kB / 0.8049 GB, free: 70.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.6547, allocations: 2.75 kB / 0.8049 GB, free: 70.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.6567, allocations: 1.911 MB / 0.8067 GB, free: 69.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004317/0.6571, allocations: 321.8 kB / 0.8071 GB, free: 69.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.6573, allocations: 26.61 kB / 0.8071 GB, free: 69.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009099/0.6582, allocations: 124.8 kB / 0.8072 GB, free: 68.99 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.6583, allocations: 48.34 kB / 0.8072 GB, free: 68.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-05/0.6584, allocations: 27.83 kB / 0.8073 GB, free: 68.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008177/0.6592, allocations: 0.7951 MB / 0.808 GB, free: 68.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6592, allocations: 0 / 0.808 GB, free: 68.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002956/0.6622, allocations: 1.304 MB / 0.8093 GB, free: 68.09 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.0002084/0.6624, allocations: 126.1 kB / 0.8094 GB, free: 67.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003748/0.6661, allocations: 2.978 MB / 0.8123 GB, free: 66.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6661, allocations: 0 / 0.8123 GB, free: 66.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006746/0.6668, allocations: 0.6571 MB / 0.813 GB, free: 66.24 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.6681, allocations: 187.5 kB / 0.8132 GB, free: 66.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006115/0.6743, allocations: 5.772 MB / 0.8188 GB, free: 62.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/0.6757, allocations: 2.204 MB / 0.821 GB, free: 60.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002143/0.6779, allocations: 1.1 MB / 0.822 GB, free: 59.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.6782, allocations: 95.41 kB / 0.8221 GB, free: 59.79 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.6782, allocations: 0 / 0.8221 GB, free: 59.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.0201/0.6983, allocations: 15.32 MB / 0.8371 GB, free: 44.67 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)