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.001401/0.001402, allocations: 105.7 kB / 16.41 MB, free: 6.5 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.001584/0.001584, allocations: 189.2 kB / 17.34 MB, free: 5.766 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8019/0.8019, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 61.41 kB / 0.5684 GB, free: 28.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1785, allocations: 77.94 MB / 0.6446 GB, free: 9 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003951/0.1825, allocations: 2.596 MB / 0.6471 GB, free: 6.395 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.1848, allocations: 1.492 MB / 0.6486 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.1849, allocations: 4 kB / 0.6486 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007896/0.1857, allocations: 215.1 kB / 0.6488 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.1862, allocations: 191.2 kB / 0.6489 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.1866, allocations: 155.7 kB / 0.6491 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.1869, allocations: 231.2 kB / 0.6493 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.1872, allocations: 178.5 kB / 0.6495 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.1874, allocations: 91.67 kB / 0.6496 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.1876, allocations: 115.6 kB / 0.6497 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.1877, allocations: 12 kB / 0.6497 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003208/0.188, allocations: 219.6 kB / 0.6499 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.1881, allocations: 87.72 kB / 0.65 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.141e-05/0.1882, allocations: 83.55 kB / 0.6501 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.1886, allocations: 322.9 kB / 0.6504 GB, free: 3.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1886, allocations: 0 / 0.6504 GB, free: 3.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1886, allocations: 0 / 0.6504 GB, free: 3.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1886, allocations: 0 / 0.6504 GB, free: 3.023 MB / 494.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.0007161/0.1894, allocations: 0.4986 MB / 0.6509 GB, free: 2.473 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1894, allocations: 8.031 kB / 0.6509 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005758/0.19, allocations: 76.75 kB / 0.6509 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.1903, allocations: 240 kB / 0.6512 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1903, allocations: 12.7 kB / 0.6512 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.1903, allocations: 16.36 kB / 0.6512 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.1908, allocations: 324.2 kB / 0.6515 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1908, allocations: 4 kB / 0.6515 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.1908, allocations: 7.984 kB / 0.6515 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/0.1909, allocations: 20.27 kB / 0.6515 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.1913, allocations: 252.6 kB / 0.6518 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.1927, allocations: 1.63 MB / 0.6534 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006021/0.1933, allocations: 411.2 kB / 0.6538 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.1935, allocations: 93.78 kB / 0.6538 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.1936, allocations: 89.09 kB / 0.6539 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1936, allocations: 38.5 kB / 0.654 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.1937, allocations: 0 / 0.654 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006465/0.1943, allocations: 316.8 kB / 0.6543 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.1944, allocations: 77.33 kB / 0.6543 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.1945, allocations: 177.3 kB / 0.6545 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1946, allocations: 29.7 kB / 0.6545 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.1947, allocations: 156.1 kB / 0.6547 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.1947, allocations: 39.83 kB / 0.6547 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.709e-05/0.1948, allocations: 57.66 kB / 0.6548 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.1949, allocations: 322.8 kB / 0.6551 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.195, allocations: 92.73 kB / 0.6552 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.1952, allocations: 155.1 kB / 0.6553 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.1955, allocations: 237.3 kB / 0.6556 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1955, allocations: 0 / 0.6556 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003926/0.1959, allocations: 283.2 kB / 0.6558 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.196, allocations: 4 kB / 0.6558 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.196, allocations: 4 kB / 0.6558 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.196, allocations: 7.938 kB / 0.6558 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.1962, allocations: 55.91 kB / 0.6559 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.1963, allocations: 7.984 kB / 0.6559 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.1964, allocations: 19.92 kB / 0.6559 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.1964, allocations: 8 kB / 0.6559 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001924/0.1966, allocations: 172.1 kB / 0.6561 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001672/0.1968, allocations: 153.8 kB / 0.6562 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002863/0.1971, allocations: 235.1 kB / 0.6565 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/0.1971, allocations: 0 / 0.6565 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003575/0.1975, allocations: 249.2 kB / 0.6567 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.1975, allocations: 8 kB / 0.6567 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1975, allocations: 4 kB / 0.6567 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/0.1975, allocations: 4.344 kB / 0.6567 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.1977, allocations: 63.83 kB / 0.6568 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1977, allocations: 7.938 kB / 0.6568 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.1978, allocations: 8 kB / 0.6568 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.1978, allocations: 15.98 kB / 0.6568 GB, free: 11.86 MB / 0.4981 GB 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.0001166/0.198, allocations: 188.2 kB / 0.657 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.198, allocations: 11.91 kB / 0.657 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.1984, allocations: 207.7 kB / 0.6572 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1984, allocations: 0 / 0.6572 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1984, allocations: 4 kB / 0.6572 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1985, allocations: 0 / 0.6572 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.1997, allocations: 0.9729 MB / 0.6582 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.1997, allocations: 4 kB / 0.6582 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.1999, allocations: 40.34 kB / 0.6582 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1999, allocations: 11.94 kB / 0.6582 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1999, allocations: 4 kB / 0.6582 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/0.1999, allocations: 7.938 kB / 0.6582 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.2, allocations: 7.938 kB / 0.6582 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.2004, allocations: 436.1 kB / 0.6586 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-05/0.2005, allocations: 108.9 kB / 0.6587 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.2005, allocations: 11.98 kB / 0.6588 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.2007, allocations: 11.98 kB / 0.6588 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.2008, allocations: 23.86 kB / 0.6588 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.2008, allocations: 8 kB / 0.6588 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001326/0.2009, allocations: 131.2 kB / 0.6589 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2009, allocations: 0 / 0.6589 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005039/0.2014, allocations: 72 kB / 0.659 GB, free: 9.414 MB / 0.4981 GB 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.000172/0.2016, allocations: 115.1 kB / 0.6591 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004731/0.2021, allocations: 308.6 kB / 0.6594 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2021, allocations: 4 kB / 0.6594 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.853e-05/0.2022, allocations: 75.83 kB / 0.6595 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.2027, allocations: 36.47 kB / 0.6595 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000868/0.2036, allocations: 485.4 kB / 0.66 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.204, allocations: 0.7402 MB / 0.6607 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001975/0.2042, allocations: 73.47 kB / 0.6608 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.2043, allocations: 23.42 kB / 0.6608 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.2043, allocations: 7.938 kB / 0.6608 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of Templates: time 0.004932/0.2092, allocations: 1.838 MB / 0.6626 GB, free: 5.645 MB / 0.4981 GB 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)