Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 185 kB / 15.77 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6969/0.6969, allocations: 82.93 MB / 99.42 MB, free: 3.289 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.315/2.315, allocations: 205.4 MB / 325.4 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 98.25 kB / 393.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007429/0.000743, allocations: 12 kB / 471.5 MB, free: 66.6 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08696/0.08774, allocations: 67.45 MB / 0.5264 GB, free: 15.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002523/0.09031, allocations: 1.596 MB / 0.5279 GB, free: 13.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.09177, allocations: 0.6951 MB / 0.5286 GB, free: 12.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.09189, allocations: 4 kB / 0.5286 GB, free: 12.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.09207, allocations: 71.75 kB / 0.5287 GB, free: 12.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.09226, allocations: 87.78 kB / 0.5287 GB, free: 12.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.09284, allocations: 127.8 kB / 0.5289 GB, free: 12.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.09313, allocations: 155.7 kB / 0.529 GB, free: 12.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.09329, allocations: 53.53 kB / 0.5291 GB, free: 12.31 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.09345, allocations: 87.67 kB / 0.5292 GB, free: 12.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.09366, allocations: 111.6 kB / 0.5293 GB, free: 12.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.0937, allocations: 8 kB / 0.5293 GB, free: 12.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.09386, allocations: 63.94 kB / 0.5293 GB, free: 12.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.091e-05/0.09395, allocations: 51.77 kB / 0.5294 GB, free: 11.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.09404, allocations: 57.58 kB / 0.5294 GB, free: 11.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.09437, allocations: 215.6 kB / 0.5296 GB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.6e-06/0.09439, allocations: 0 / 0.5296 GB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.704e-06/0.0944, allocations: 0 / 0.5296 GB, free: 11.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.757e-06/0.09442, allocations: 3.938 kB / 0.5296 GB, free: 11.71 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009112/0.09534, allocations: 0.5507 MB / 0.5302 GB, free: 11.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.0954, allocations: 8.031 kB / 0.5302 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.07e-05/0.09549, allocations: 31.62 kB / 0.5302 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005565/0.09606, allocations: 293.6 kB / 0.5305 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.09611, allocations: 15.95 kB / 0.5305 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.09616, allocations: 12 kB / 0.5305 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.09667, allocations: 231.6 kB / 0.5307 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.0967, allocations: 0 / 0.5307 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.09674, allocations: 8 kB / 0.5308 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.623e-06/0.09676, allocations: 0 / 0.5308 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.09712, allocations: 136.4 kB / 0.5309 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.09825, allocations: 0.6924 MB / 0.5316 GB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/0.09876, allocations: 182.4 kB / 0.5317 GB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.09879, allocations: 0 / 0.5317 GB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003784/0.09919, allocations: 173.2 kB / 0.5319 GB, free: 9.203 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.527e-06/0.09921, allocations: 0 / 0.5319 GB, free: 9.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009707/0.1002, allocations: 465.8 kB / 0.5323 GB, free: 8.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/0.1003, allocations: 136.5 kB / 0.5325 GB, free: 8.555 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.1007, allocations: 282.6 kB / 0.5327 GB, free: 8.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.1007, allocations: 33.7 kB / 0.5328 GB, free: 8.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.1009, allocations: 152.2 kB / 0.5329 GB, free: 8.078 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/0.101, allocations: 55.28 kB / 0.533 GB, free: 8.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.101, allocations: 0 / 0.533 GB, free: 8.023 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.1012, allocations: 338.8 kB / 0.5333 GB, free: 7.684 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.1015, allocations: 92.14 kB / 0.5334 GB, free: 7.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.1018, allocations: 131.5 kB / 0.5335 GB, free: 7.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.102, allocations: 125 kB / 0.5336 GB, free: 7.324 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.102, allocations: 96 / 0.5336 GB, free: 7.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000748/0.1028, allocations: 346.9 kB / 0.534 GB, free: 6.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.1029, allocations: 33.7 kB / 0.534 GB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.396e-06/0.1029, allocations: 0 / 0.534 GB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.1029, allocations: 7.953 kB / 0.534 GB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.1031, allocations: 27.92 kB / 0.534 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.944e-06/0.1031, allocations: 3.984 kB / 0.534 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.1033, allocations: 31.83 kB / 0.5341 GB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.1034, allocations: 8.094 kB / 0.5341 GB, free: 6.855 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0002533/0.1036, allocations: 191 kB / 0.5343 GB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.1037, allocations: 23.72 kB / 0.5343 GB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.683e-05/0.1038, allocations: 29.83 kB / 0.5343 GB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.036e-06/0.1038, allocations: 7.953 kB / 0.5343 GB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.652e-06/0.1038, allocations: 0 / 0.5343 GB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1038, allocations: 3.984 kB / 0.5343 GB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.1042, allocations: 281.4 kB / 0.5346 GB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-06/0.1042, allocations: 4 kB / 0.5346 GB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.1044, allocations: 23.92 kB / 0.5346 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.089e-06/0.1044, allocations: 0 / 0.5346 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.1044, allocations: 11.98 kB / 0.5346 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.961e-06/0.1045, allocations: 0 / 0.5346 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.186e-06/0.1045, allocations: 3.953 kB / 0.5346 GB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.1055, allocations: 478.3 kB / 0.5351 GB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.379e-05/0.1056, allocations: 96.84 kB / 0.5352 GB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.1057, allocations: 19.88 kB / 0.5352 GB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1059, allocations: 16.05 kB / 0.5352 GB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.79e-05/0.106, allocations: 27.95 kB / 0.5352 GB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.106, allocations: 11.95 kB / 0.5352 GB, free: 5.547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002647/0.1063, allocations: 201.9 kB / 0.5354 GB, free: 5.352 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.1063, allocations: 0 / 0.5354 GB, free: 5.352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003819/0.1067, allocations: 55.84 kB / 0.5355 GB, free: 5.297 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0002286/0.1069, allocations: 127.4 kB / 0.5356 GB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006568/0.1076, allocations: 307.1 kB / 0.5359 GB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.351e-06/0.1076, allocations: 0 / 0.5359 GB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003335/0.108, allocations: 187.3 kB / 0.5361 GB, free: 4.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.1083, allocations: 39.61 kB / 0.5361 GB, free: 4.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1096, allocations: 0.5144 MB / 0.5366 GB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.11, allocations: 0.7519 MB / 0.5374 GB, free: 3.305 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.1102, allocations: 17.55 kB / 0.5374 GB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/0.1102, allocations: 23.42 kB / 0.5374 GB, free: 3.266 MB / 378.7 MB Notification: Performance of SimCode: time 1.675e-06/0.1103, allocations: 0 / 0.5374 GB, free: 3.266 MB / 378.7 MB Notification: Performance of Templates: time 0.008023/0.1183, allocations: 2.445 MB / 0.5398 GB, free: 0.832 MB / 378.7 MB