Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008783/0.0008783, allocations: 89.03 kB / 16.67 MB, free: 6.594 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.001013/0.001013, allocations: 181 kB / 17.58 MB, free: 6.188 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.391/1.391, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7588/0.7588, allocations: 115.5 MB / 408.2 MB, free: 7.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004056/0.0004057, allocations: 12 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4121, allocations: 77.51 MB / 0.5606 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01682/0.429, allocations: 16.49 MB / 0.5767 GB, free: 24.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009685/0.4387, allocations: 5.796 MB / 0.5824 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.4404, allocations: 44.78 kB / 0.5824 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009937/0.4414, allocations: 318.7 kB / 0.5827 GB, free: 20.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.4437, allocations: 0.7866 MB / 0.5835 GB, free: 20 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.4462, allocations: 0.8764 MB / 0.5843 GB, free: 19.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007464/0.4537, allocations: 6.494 MB / 0.5907 GB, free: 17.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01127/0.465, allocations: 7.961 MB / 0.5984 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/0.4675, allocations: 1.284 MB / 0.5997 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/0.4705, allocations: 1.931 MB / 0.6016 GB, free: 9.336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008209/0.4714, allocations: 192 kB / 0.6018 GB, free: 9.148 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.4734, allocations: 0.7254 MB / 0.6025 GB, free: 8.422 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001501/0.4749, allocations: 1.391 MB / 0.6038 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.4763, allocations: 1.405 MB / 0.6052 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004139/0.4805, allocations: 5.351 MB / 0.6104 GB, free: 252 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4805, allocations: 0 / 0.6104 GB, free: 252 kB / 446.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4805, allocations: 4 kB / 0.6104 GB, free: 248 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001804/0.4807, allocations: 0 / 0.6104 GB, free: 248 kB / 446.1 MB 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.006071/0.4868, allocations: 2.479 MB / 0.6129 GB, free: 13.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.4869, allocations: 8.031 kB / 0.6129 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00548/0.4924, allocations: 1.144 MB / 0.614 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003216/0.4956, allocations: 1.604 MB / 0.6155 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.4958, allocations: 230.3 kB / 0.6158 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007681/0.4966, allocations: 288.4 kB / 0.616 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009647/0.5063, allocations: 5.308 MB / 0.6212 GB, free: 4.984 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.009e-05/0.5064, allocations: 8 kB / 0.6212 GB, free: 4.977 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003343/0.5067, allocations: 120 kB / 0.6213 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002516/0.507, allocations: 205.1 kB / 0.6215 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008366/0.5153, allocations: 4.771 MB / 0.6262 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03108/0.5465, allocations: 23.2 MB / 0.6489 GB, free: 6.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004982/0.5515, allocations: 3.185 MB / 0.652 GB, free: 2.973 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.553, allocations: 0.9134 MB / 0.6529 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.5532, allocations: 105.7 kB / 0.653 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.541e-05/0.5532, allocations: 47.16 kB / 0.653 GB, free: 1.859 MB / 494.1 MB Notification: Performance of pre-optimization done (n=82): time 3.286e-06/0.5532, allocations: 0 / 0.653 GB, free: 1.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=82): time 0.003536/0.5568, allocations: 2.098 MB / 0.6551 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.5569, allocations: 214.3 kB / 0.6553 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/0.5589, allocations: 1.094 MB / 0.6563 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.559, allocations: 37.7 kB / 0.6564 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009991/0.56, allocations: 1.296 MB / 0.6576 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/0.5603, allocations: 299.9 kB / 0.6579 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.5606, allocations: 133.6 kB / 0.658 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5608, allocations: 341.9 kB / 0.6584 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.5622, allocations: 0.8861 MB / 0.6592 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.564, allocations: 1.526 MB / 0.6607 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003055/0.5671, allocations: 2.362 MB / 0.663 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/0.5671, allocations: 4 kB / 0.663 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004024/0.5711, allocations: 2.5 MB / 0.6655 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005173/0.5717, allocations: 0.6467 MB / 0.6661 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/0.5717, allocations: 20 kB / 0.6661 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-05/0.5718, allocations: 35.88 kB / 0.6662 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.5734, allocations: 467.2 kB / 0.6666 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.192e-05/0.5735, allocations: 39.86 kB / 0.6666 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.5752, allocations: 341.9 kB / 0.667 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.5753, allocations: 79.97 kB / 0.667 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.5753, allocations: 4 kB / 0.667 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003373/0.5787, allocations: 2.226 MB / 0.6692 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.978e-05/0.5788, allocations: 16 kB / 0.6692 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.5788, allocations: 28 kB / 0.6693 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.5803, allocations: 439.3 kB / 0.6697 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.654e-05/0.5803, allocations: 39.86 kB / 0.6697 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.5816, allocations: 254.9 kB / 0.67 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.5818, allocations: 79.92 kB / 0.67 GB, free: 15.48 MB / 0.5137 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.002064/0.5839, allocations: 1.273 MB / 0.6713 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003822/0.5843, allocations: 102.8 kB / 0.6714 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/0.5869, allocations: 1.571 MB / 0.6729 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.5869, allocations: 11.98 kB / 0.6729 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.587, allocations: 4 kB / 0.6729 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.587, allocations: 7.984 kB / 0.6729 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007915/0.5949, allocations: 4.498 MB / 0.6773 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.5949, allocations: 4 kB / 0.6773 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009831/0.5959, allocations: 255.5 kB / 0.6776 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.487e-05/0.5959, allocations: 4 kB / 0.6776 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.891e-05/0.596, allocations: 16 kB / 0.6776 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-05/0.596, allocations: 7.984 kB / 0.6776 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.5961, allocations: 7.938 kB / 0.6776 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.5984, allocations: 1.923 MB / 0.6795 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007192/0.5991, allocations: 367.5 kB / 0.6798 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/0.5994, allocations: 16 kB / 0.6799 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.6005, allocations: 127.8 kB / 0.68 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.6006, allocations: 52.52 kB / 0.68 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/0.6007, allocations: 28 kB / 0.6801 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001319/0.602, allocations: 0.7956 MB / 0.6808 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.602, allocations: 0 / 0.6808 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003938/0.606, allocations: 1.302 MB / 0.6821 GB, free: 2.934 MB / 0.5137 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.0002277/0.6062, allocations: 123.1 kB / 0.6822 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004795/0.611, allocations: 2.984 MB / 0.6851 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.611, allocations: 64 / 0.6851 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009558/0.612, allocations: 0.6711 MB / 0.6858 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.6138, allocations: 185.2 kB / 0.686 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.6242, allocations: 6.277 MB / 0.6921 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002994/0.6273, allocations: 2.278 MB / 0.6943 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005814/0.6279, allocations: 107.4 kB / 0.6944 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/0.6279, allocations: 0 / 0.6944 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of Templates: time 0.04548/0.6734, allocations: 28.27 MB / 0.722 GB, free: 10.06 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)