Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.683/5.683, allocations: 0.5623 GB / 0.5776 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004136/0.004136, allocations: 359.5 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.527/4.527, allocations: 410.7 MB / 1.113 GB, free: 6.047 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001808/0.001808, allocations: 187.8 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007966/0.0007969, allocations: 12 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9803/0.9812, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003581/0.9848, allocations: 2.25 MB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002802/0.9877, allocations: 1.417 MB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.9879, allocations: 0.5938 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.9881, allocations: 25.41 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007056/0.9889, allocations: 135.4 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.9894, allocations: 121.5 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004228/0.9899, allocations: 271.2 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008998/0.9908, allocations: 301.5 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.991, allocations: 85.22 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.9913, allocations: 107.6 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.9914, allocations: 4 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.9918, allocations: 127.8 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.339e-05/0.9919, allocations: 64.58 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.9919, allocations: 53.64 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.9923, allocations: 235.3 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.9923, allocations: 3.938 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9923, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.9924, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB 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.0007727/0.9931, allocations: 469.1 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.9932, allocations: 11.62 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009754/0.9942, allocations: 87.58 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.9945, allocations: 222.8 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.9945, allocations: 9.391 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.9946, allocations: 21.77 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/0.9953, allocations: 320.5 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.9953, allocations: 4.938 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/0.9953, allocations: 9.922 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.596e-05/0.9954, allocations: 21.14 kB / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005531/0.996, allocations: 256.5 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.9979, allocations: 1.63 MB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009663/0.999, allocations: 422.4 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.9992, allocations: 89.83 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.9994, allocations: 87.19 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.9994, allocations: 34.56 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 3.797e-06/0.9994, allocations: 0 / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0009256/1, allocations: 303.2 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/1, allocations: 78.11 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/1.001, allocations: 174.6 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/1.001, allocations: 29.7 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.559e-05/1.001, allocations: 161.5 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/1.001, allocations: 43.3 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/1.001, allocations: 4 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.654e-05/1.001, allocations: 332.3 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/1.001, allocations: 75.95 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/1.001, allocations: 148.9 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/1.002, allocations: 105.7 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.002, allocations: 3.953 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005791/1.002, allocations: 265.2 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.111e-05/1.002, allocations: 158.8 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/1.002, allocations: 4.719 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/1.002, allocations: 4 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/1.003, allocations: 52.92 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/1.003, allocations: 4 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/1.003, allocations: 22.73 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/1.003, allocations: 12 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/1.003, allocations: 4 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004445/1.004, allocations: 219.5 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/1.004, allocations: 3.953 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.022e-06/1.004, allocations: 8 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/1.004, allocations: 52.5 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/1.004, allocations: 7.562 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/1.004, allocations: 7.984 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/1.004, allocations: 12 kB / 1.472 GB, free: 272.8 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001721/1.004, allocations: 221 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/1.004, allocations: 19.8 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/1.005, allocations: 213 kB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.005, allocations: 0 / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/1.005, allocations: 0 / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/1.005, allocations: 109.7 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/1.005, allocations: 1.219 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/1.005, allocations: 20.94 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/1.005, allocations: 11.92 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004882/1.006, allocations: 342.5 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004153/1.006, allocations: 426.9 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001467/1.007, allocations: 71.7 kB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001273/1.007, allocations: 131.2 kB / 1.474 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of Backend: time 1.102e-06/1.007, allocations: 2.594 kB / 1.474 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001214/1.008, allocations: 360.7 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001026/1.009, allocations: 0.8756 MB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of Templates: time 0.009591/1.019, allocations: 3.407 MB / 1.478 GB, free: 266.8 MB / 0.8542 GB