Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009736/0.0009736, allocations: 93.73 kB / 16.02 MB, free: 84 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.0009402/0.0009402, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6912/0.6912, allocations: 115.5 MB / 407.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003274, allocations: 8 kB / 495.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1788, allocations: 77.54 MB / 0.56 GB, free: 9 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003046/0.1819, allocations: 2.299 MB / 0.5622 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1842, allocations: 1.465 MB / 0.5636 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.222e-05/0.1843, allocations: 3.938 kB / 0.5636 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.1844, allocations: 27.78 kB / 0.5637 GB, free: 5.184 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004437/0.1849, allocations: 167.5 kB / 0.5638 GB, free: 5.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.1852, allocations: 147.7 kB / 0.564 GB, free: 4.875 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.1856, allocations: 347 kB / 0.5643 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006061/0.1862, allocations: 334.8 kB / 0.5646 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.1864, allocations: 75.7 kB / 0.5647 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.1866, allocations: 107.6 kB / 0.5648 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.1867, allocations: 15.92 kB / 0.5648 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.1871, allocations: 267.4 kB / 0.5651 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/0.1872, allocations: 59.86 kB / 0.5651 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1873, allocations: 109.2 kB / 0.5652 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.1877, allocations: 331.2 kB / 0.5655 GB, free: 3.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1877, allocations: 0 / 0.5655 GB, free: 3.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1877, allocations: 0 / 0.5655 GB, free: 3.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1877, allocations: 0 / 0.5655 GB, free: 3.234 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006207/0.1883, allocations: 459.2 kB / 0.566 GB, free: 2.734 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1884, allocations: 8.031 kB / 0.566 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005808/0.189, allocations: 80.56 kB / 0.5661 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.1892, allocations: 239.4 kB / 0.5663 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1892, allocations: 16.69 kB / 0.5663 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.1893, allocations: 16.38 kB / 0.5663 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/0.1899, allocations: 320.4 kB / 0.5666 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1899, allocations: 0 / 0.5666 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.1899, allocations: 12 kB / 0.5666 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/0.19, allocations: 20.27 kB / 0.5667 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004972/0.1905, allocations: 252.6 kB / 0.5669 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.1921, allocations: 1.638 MB / 0.5685 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006403/0.1928, allocations: 407.2 kB / 0.5689 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.1929, allocations: 93.66 kB / 0.569 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.1931, allocations: 89.05 kB / 0.5691 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.1931, allocations: 34.56 kB / 0.5691 GB, free: 15.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.1931, allocations: 0 / 0.5691 GB, free: 15.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006401/0.1938, allocations: 312.6 kB / 0.5694 GB, free: 14.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.1938, allocations: 77.11 kB / 0.5695 GB, free: 14.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.194, allocations: 174 kB / 0.5696 GB, free: 14.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.194, allocations: 37.7 kB / 0.5697 GB, free: 14.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/0.1941, allocations: 147.8 kB / 0.5698 GB, free: 14.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.017e-05/0.1942, allocations: 47.34 kB / 0.5699 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.1942, allocations: 25.7 kB / 0.5699 GB, free: 14.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1943, allocations: 322.8 kB / 0.5702 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.1945, allocations: 75.95 kB / 0.5703 GB, free: 13.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.1947, allocations: 157.3 kB / 0.5704 GB, free: 13.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.195, allocations: 241.2 kB / 0.5706 GB, free: 13.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.195, allocations: 0 / 0.5706 GB, free: 13.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000414/0.1954, allocations: 277.2 kB / 0.5709 GB, free: 13.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.1955, allocations: 159.2 kB / 0.5711 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1956, allocations: 4 kB / 0.5711 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1956, allocations: 4 kB / 0.5711 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.1958, allocations: 59.89 kB / 0.5711 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1959, allocations: 8 kB / 0.5711 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.196, allocations: 15.98 kB / 0.5712 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.196, allocations: 11.98 kB / 0.5712 GB, free: 12.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1961, allocations: 4 kB / 0.5712 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003107/0.1964, allocations: 211.1 kB / 0.5714 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.1964, allocations: 0 / 0.5714 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-06/0.1964, allocations: 12.25 kB / 0.5714 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.1966, allocations: 47.91 kB / 0.5714 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1966, allocations: 7.938 kB / 0.5714 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1967, allocations: 27.77 kB / 0.5715 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.1967, allocations: 8 kB / 0.5715 GB, free: 12.65 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * 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.0001584/0.1969, allocations: 229 kB / 0.5717 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.197, allocations: 11.91 kB / 0.5717 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003708/0.1973, allocations: 203.8 kB / 0.5719 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1974, allocations: 4 kB / 0.5719 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.1974, allocations: 3.938 kB / 0.5719 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1974, allocations: 0 / 0.5719 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.1986, allocations: 0.9612 MB / 0.5728 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1986, allocations: 8.375 kB / 0.5728 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.1988, allocations: 31.98 kB / 0.5729 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1988, allocations: 4 kB / 0.5729 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.1988, allocations: 11.98 kB / 0.5729 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.1988, allocations: 7.938 kB / 0.5729 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1989, allocations: 4.156 kB / 0.5729 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.1992, allocations: 440.8 kB / 0.5733 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.762e-05/0.1993, allocations: 105 kB / 0.5734 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.1994, allocations: 11.92 kB / 0.5734 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.1996, allocations: 15.98 kB / 0.5735 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.1996, allocations: 19.88 kB / 0.5735 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1996, allocations: 12.03 kB / 0.5735 GB, free: 10.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1997, allocations: 131.8 kB / 0.5736 GB, free: 10.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1998, allocations: 0 / 0.5736 GB, free: 10.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004935/0.2003, allocations: 68 kB / 0.5737 GB, free: 10.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * 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.0001605/0.2004, allocations: 127.1 kB / 0.5738 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004675/0.2009, allocations: 300 kB / 0.5741 GB, free: 9.762 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2009, allocations: 0 / 0.5741 GB, free: 9.762 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.201, allocations: 83.83 kB / 0.5742 GB, free: 9.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.2016, allocations: 33.55 kB / 0.5742 GB, free: 9.648 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008977/0.2025, allocations: 0.5595 MB / 0.5747 GB, free: 9.023 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.2029, allocations: 0.7402 MB / 0.5755 GB, free: 8.258 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000211/0.2031, allocations: 81.45 kB / 0.5755 GB, free: 8.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.2032, allocations: 23.44 kB / 0.5756 GB, free: 8.156 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2032, allocations: 0 / 0.5756 GB, free: 8.156 MB / 446.1 MB Notification: Performance of Templates: time 0.004669/0.2079, allocations: 1.709 MB / 0.5772 GB, free: 6.469 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)