Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1789/0.1789, allocations: 38.52 MB / 344.4 MB, free: 2.523 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.89 kB / 482.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3144, allocations: 61.24 MB / 0.5306 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.006074/0.3204, allocations: 4.156 MB / 0.5346 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.3218, allocations: 0.9086 MB / 0.5355 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.322, allocations: 10.81 kB / 0.5355 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.3222, allocations: 52.42 kB / 0.5356 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004741/0.3227, allocations: 193.8 kB / 0.5358 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.3229, allocations: 84.23 kB / 0.5358 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004424/0.3233, allocations: 411.2 kB / 0.5362 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.3235, allocations: 69.14 kB / 0.5363 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.3238, allocations: 200 kB / 0.5365 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.3242, allocations: 213.6 kB / 0.5367 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.094e-05/0.3242, allocations: 20.38 kB / 0.5367 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.633e-05/0.3243, allocations: 20.06 kB / 0.5367 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.3244, allocations: 99.89 kB / 0.5368 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.3246, allocations: 157.7 kB / 0.537 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.3249, allocations: 318.5 kB / 0.5373 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3249, allocations: 0 / 0.5373 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3249, allocations: 0 / 0.5373 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.158e-06/0.3249, allocations: 0 / 0.5373 GB, free: 0.8789 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001017/0.326, allocations: 0.6318 MB / 0.5379 GB, free: 324 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.326, allocations: 12.11 kB / 0.5379 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.3261, allocations: 37.2 kB / 0.5379 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.3265, allocations: 341.3 kB / 0.5383 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.3265, allocations: 21.28 kB / 0.5383 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.3266, allocations: 22.41 kB / 0.5383 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.327, allocations: 325.8 kB / 0.5386 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.3271, allocations: 5.219 kB / 0.5386 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.3271, allocations: 10.59 kB / 0.5386 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3271, allocations: 5.312 kB / 0.5386 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.3275, allocations: 217.3 kB / 0.5388 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.3291, allocations: 1.34 MB / 0.5401 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.3295, allocations: 142.9 kB / 0.5403 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3296, allocations: 57.91 kB / 0.5403 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.3296, allocations: 1.125 kB / 0.5403 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.3297, allocations: 35.72 kB / 0.5404 GB, free: 14.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.3297, allocations: 0 / 0.5404 GB, free: 14.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008127/0.3305, allocations: 372.4 kB / 0.5407 GB, free: 13.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.3305, allocations: 83.67 kB / 0.5408 GB, free: 13.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.3308, allocations: 259.1 kB / 0.5411 GB, free: 13.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.3308, allocations: 27.27 kB / 0.5411 GB, free: 13.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.331, allocations: 208.6 kB / 0.5413 GB, free: 13.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.3311, allocations: 46.36 kB / 0.5413 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/0.3312, allocations: 45 kB / 0.5414 GB, free: 13.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3313, allocations: 340.9 kB / 0.5417 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-05/0.3314, allocations: 55.84 kB / 0.5417 GB, free: 13.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.3316, allocations: 151 kB / 0.5419 GB, free: 12.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.3319, allocations: 233 kB / 0.5421 GB, free: 12.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3319, allocations: 1.219 kB / 0.5421 GB, free: 12.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000402/0.3323, allocations: 249.7 kB / 0.5424 GB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3324, allocations: 6.719 kB / 0.5424 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3324, allocations: 3.844 kB / 0.5424 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.3324, allocations: 8.406 kB / 0.5424 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.3326, allocations: 52.2 kB / 0.5424 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3326, allocations: 4.969 kB / 0.5424 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.3327, allocations: 12.72 kB / 0.5424 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.3327, allocations: 16.83 kB / 0.5425 GB, free: 12.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * 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.0001795/0.3329, allocations: 162.7 kB / 0.5426 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.333, allocations: 28.03 kB / 0.5426 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/0.3333, allocations: 202.7 kB / 0.5428 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3333, allocations: 1.375 kB / 0.5428 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3333, allocations: 5.344 kB / 0.5428 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3333, allocations: 0 / 0.5428 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007055/0.3341, allocations: 0.5585 MB / 0.5434 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3341, allocations: 1.219 kB / 0.5434 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.3342, allocations: 26.67 kB / 0.5434 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3342, allocations: 1.469 kB / 0.5434 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.3342, allocations: 5.406 kB / 0.5434 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.3342, allocations: 5.5 kB / 0.5434 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3342, allocations: 1.344 kB / 0.5434 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.3345, allocations: 298.8 kB / 0.5437 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.559e-05/0.3346, allocations: 95.22 kB / 0.5438 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.3347, allocations: 7.938 kB / 0.5438 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.3348, allocations: 3.938 kB / 0.5438 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.3348, allocations: 13.3 kB / 0.5438 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.3348, allocations: 7.859 kB / 0.5438 GB, free: 11.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.335, allocations: 187 kB / 0.544 GB, free: 11.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.335, allocations: 0 / 0.544 GB, free: 11.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003171/0.3353, allocations: 48.62 kB / 0.5441 GB, free: 11.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001251/0.3354, allocations: 104.8 kB / 0.5442 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.3357, allocations: 150 kB / 0.5443 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.3357, allocations: 0 / 0.5443 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.3358, allocations: 73.7 kB / 0.5444 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.3363, allocations: 68.72 kB / 0.5444 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009558/0.3373, allocations: 0.5434 MB / 0.545 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.3377, allocations: 0.7804 MB / 0.5457 GB, free: 9.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.3379, allocations: 44.28 kB / 0.5458 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.3379, allocations: 20.44 kB / 0.5458 GB, free: 9.848 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3379, allocations: 4 kB / 0.5458 GB, free: 9.844 MB / 398.1 MB Notification: Performance of Templates: time 0.005964/0.3439, allocations: 2.345 MB / 0.5481 GB, free: 8.68 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.681131682358682]