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.0008273/0.0008272, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009802/0.0009802, allocations: 176.7 kB / 16.58 MB, free: 6.391 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.453/1.453, allocations: 223.3 MB / 240.6 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7176/0.7176, allocations: 115.5 MB / 407.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003234, allocations: 8 kB / 495.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1523, allocations: 77.53 MB / 0.5593 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01798/0.1703, allocations: 15.59 MB / 0.5746 GB, free: 9.781 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008732/0.1791, allocations: 5.524 MB / 0.5799 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.1802, allocations: 47.81 kB / 0.58 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007383/0.181, allocations: 313.7 kB / 0.5803 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.1825, allocations: 0.6458 MB / 0.5809 GB, free: 3.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.1847, allocations: 0.6893 MB / 0.5816 GB, free: 2.551 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2919/0.4766, allocations: 4.937 MB / 0.5864 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01135/0.4879, allocations: 7.049 MB / 0.5933 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003942/0.4919, allocations: 1.305 MB / 0.5946 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004619/0.4966, allocations: 1.881 MB / 0.5964 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007005/0.4973, allocations: 194.4 kB / 0.5966 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.4987, allocations: 419.2 kB / 0.597 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001788/0.5005, allocations: 1.384 MB / 0.5983 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008579/0.5014, allocations: 0.5596 MB / 0.5989 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004886/0.5063, allocations: 5.343 MB / 0.6041 GB, free: 11.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5063, allocations: 3.125 kB / 0.6041 GB, free: 11.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5063, allocations: 1.25 kB / 0.6041 GB, free: 11.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001094/0.5064, allocations: 0 / 0.6041 GB, free: 11.91 MB / 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.00494/0.5114, allocations: 2.504 MB / 0.6066 GB, free: 10.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.5114, allocations: 9 kB / 0.6066 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005171/0.5166, allocations: 1.135 MB / 0.6077 GB, free: 9.934 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/0.52, allocations: 1.59 MB / 0.6092 GB, free: 9.355 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.5202, allocations: 231.2 kB / 0.6095 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007071/0.5209, allocations: 288.3 kB / 0.6097 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009037/0.5299, allocations: 5.285 MB / 0.6149 GB, free: 7.219 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.262e-05/0.53, allocations: 2.438 kB / 0.6149 GB, free: 7.219 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003533/0.5304, allocations: 123.6 kB / 0.615 GB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001915/0.5306, allocations: 202.4 kB / 0.6152 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007117/0.5377, allocations: 4.752 MB / 0.6198 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02949/0.5672, allocations: 23.19 MB / 0.6425 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/0.5719, allocations: 3.19 MB / 0.6456 GB, free: 9.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.5733, allocations: 0.91 MB / 0.6465 GB, free: 8.145 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.5734, allocations: 109.2 kB / 0.6466 GB, free: 8.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.5735, allocations: 47.22 kB / 0.6466 GB, free: 7.965 MB / 478.1 MB Notification: Performance of pre-optimization done (n=82): time 2.886e-06/0.5735, allocations: 0 / 0.6466 GB, free: 7.965 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.003306/0.5768, allocations: 2.09 MB / 0.6487 GB, free: 5.871 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.5769, allocations: 230.2 kB / 0.6489 GB, free: 5.594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.5787, allocations: 1.09 MB / 0.65 GB, free: 4.492 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.5788, allocations: 37.7 kB / 0.65 GB, free: 4.449 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009198/0.5797, allocations: 1.282 MB / 0.6512 GB, free: 3.156 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/0.58, allocations: 304.5 kB / 0.6515 GB, free: 2.863 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-05/0.5801, allocations: 37.97 kB / 0.6516 GB, free: 2.828 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.5804, allocations: 402.7 kB / 0.652 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.5818, allocations: 0.8822 MB / 0.6528 GB, free: 1.543 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.5835, allocations: 1.507 MB / 0.6543 GB, free: 15.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.5851, allocations: 1.188 MB / 0.6555 GB, free: 14.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.5851, allocations: 4 kB / 0.6555 GB, free: 14.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003752/0.5889, allocations: 2.492 MB / 0.6579 GB, free: 12.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004243/0.5893, allocations: 0.6409 MB / 0.6585 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.5894, allocations: 24.06 kB / 0.6585 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.12e-05/0.5894, allocations: 36 kB / 0.6586 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.591, allocations: 455.2 kB / 0.659 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.642e-05/0.591, allocations: 39.86 kB / 0.659 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.5925, allocations: 353.7 kB / 0.6594 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.5926, allocations: 79.98 kB / 0.6595 GB, free: 10.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.5926, allocations: 4 kB / 0.6595 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00331/0.5959, allocations: 2.21 MB / 0.6616 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.596, allocations: 20 kB / 0.6616 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.596, allocations: 32 kB / 0.6617 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.5974, allocations: 445.5 kB / 0.6621 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.063e-05/0.5974, allocations: 43.81 kB / 0.6621 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.5987, allocations: 246.9 kB / 0.6624 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.5989, allocations: 75.98 kB / 0.6624 GB, free: 7.141 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002561/0.6014, allocations: 1.273 MB / 0.6637 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/0.6018, allocations: 106.8 kB / 0.6638 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.6044, allocations: 1.564 MB / 0.6653 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.6044, allocations: 15.94 kB / 0.6653 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.6044, allocations: 3.953 kB / 0.6653 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.6044, allocations: 7.984 kB / 0.6653 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007411/0.6119, allocations: 4.497 MB / 0.6697 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.6119, allocations: 0 / 0.6697 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009691/0.6129, allocations: 255.6 kB / 0.67 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.6129, allocations: 4 kB / 0.67 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.566e-05/0.613, allocations: 16 kB / 0.67 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.613, allocations: 7.938 kB / 0.67 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.613, allocations: 4 kB / 0.67 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.6154, allocations: 1.918 MB / 0.6719 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006619/0.6161, allocations: 359.6 kB / 0.6722 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.6163, allocations: 19.94 kB / 0.6722 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008659/0.6171, allocations: 123.8 kB / 0.6724 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.6173, allocations: 54.41 kB / 0.6724 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/0.6174, allocations: 24 kB / 0.6724 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001307/0.6187, allocations: 0.7878 MB / 0.6732 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6187, allocations: 0 / 0.6732 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004047/0.6227, allocations: 1.301 MB / 0.6745 GB, free: 10.65 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002207/0.623, allocations: 135 kB / 0.6746 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004777/0.6277, allocations: 2.968 MB / 0.6775 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6278, allocations: 0 / 0.6775 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.6289, allocations: 0.6635 MB / 0.6782 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.6305, allocations: 185.4 kB / 0.6783 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008723/0.6392, allocations: 5.526 MB / 0.6837 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002226/0.6415, allocations: 2.206 MB / 0.6859 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002703/0.6442, allocations: 1.097 MB / 0.687 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.6445, allocations: 91.42 kB / 0.687 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.6445, allocations: 1.312 kB / 0.687 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.02534/0.6699, allocations: 14.79 MB / 0.7015 GB, free: 15.08 MB / 0.5294 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)