Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005222/0.005221, allocations: 100.6 kB / 15.73 MB, free: 6.473 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.001153/0.001153, allocations: 194.1 kB / 16.67 MB, free: 6.379 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.911/0.911, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 59.91 kB / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5041/0.5066, allocations: 80.91 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002266/0.5089, allocations: 1.445 MB / 0.6656 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002946/0.5093, allocations: 101.4 kB / 0.6657 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.5093, allocations: 0 / 0.6657 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.5093, allocations: 0 / 0.6657 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.151e-05/0.5094, allocations: 9.328 kB / 0.6657 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.5096, allocations: 12.92 kB / 0.6657 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.353e-05/0.5097, allocations: 24.64 kB / 0.6657 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.5098, allocations: 12.23 kB / 0.6657 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.915e-05/0.5099, allocations: 15.36 kB / 0.6657 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.473e-05/0.5099, allocations: 14.55 kB / 0.6657 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.51, allocations: 2.594 kB / 0.6658 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.247e-05/0.51, allocations: 12.42 kB / 0.6658 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.5101, allocations: 5.312 kB / 0.6658 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.5101, allocations: 10.28 kB / 0.6658 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.5102, allocations: 37.44 kB / 0.6658 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5102, allocations: 0 / 0.6658 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5102, allocations: 0 / 0.6658 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.5103, allocations: 4 kB / 0.6658 GB, free: 5.949 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004194/0.5107, allocations: 350.5 kB / 0.6662 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.5107, allocations: 9.781 kB / 0.6662 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.664e-05/0.5108, allocations: 32.06 kB / 0.6662 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.5109, allocations: 11.58 kB / 0.6662 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.5111, allocations: 170.9 kB / 0.6664 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.5111, allocations: 1.719 kB / 0.6664 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.5111, allocations: 384 / 0.6664 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.5113, allocations: 61.7 kB / 0.6664 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5113, allocations: 5.312 kB / 0.6664 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.5113, allocations: 0 / 0.6664 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.5113, allocations: 0 / 0.6664 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.5116, allocations: 54.84 kB / 0.6665 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.5119, allocations: 262.1 kB / 0.6667 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.5121, allocations: 51.92 kB / 0.6668 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.5122, allocations: 29.83 kB / 0.6668 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.5122, allocations: 1.25 kB / 0.6668 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.5123, allocations: 39.97 kB / 0.6669 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5123, allocations: 0 / 0.6669 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004318/0.5127, allocations: 99.88 kB / 0.6669 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.5127, allocations: 52.69 kB / 0.667 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.853e-05/0.5128, allocations: 108.8 kB / 0.6671 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.5128, allocations: 29.83 kB / 0.6671 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.5129, allocations: 85.45 kB / 0.6672 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.5129, allocations: 9.453 kB / 0.6672 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.5129, allocations: 19.69 kB / 0.6672 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.513, allocations: 312 kB / 0.6675 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.5131, allocations: 24.69 kB / 0.6676 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.594e-05/0.5132, allocations: 25.39 kB / 0.6676 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.5134, allocations: 47.09 kB / 0.6676 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5134, allocations: 3.938 kB / 0.6676 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002365/0.5136, allocations: 84.33 kB / 0.6677 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5137, allocations: 4.906 kB / 0.6677 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5137, allocations: 5.125 kB / 0.6677 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.5137, allocations: 0 / 0.6677 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.5138, allocations: 11.67 kB / 0.6677 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.5138, allocations: 0 / 0.6677 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.934e-05/0.5139, allocations: 9.359 kB / 0.6677 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.5139, allocations: 1.156 kB / 0.6677 GB, free: 4.027 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 5.365e-05/0.514, allocations: 114.9 kB / 0.6679 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.514, allocations: 5.281 kB / 0.6679 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.514, allocations: 9.25 kB / 0.6679 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.514, allocations: 1.312 kB / 0.6679 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.514, allocations: 4 kB / 0.6679 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5141, allocations: 3.984 kB / 0.6679 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.5142, allocations: 172.3 kB / 0.668 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.5142, allocations: 0 / 0.668 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.355e-05/0.5143, allocations: 12.05 kB / 0.6681 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5143, allocations: 0 / 0.6681 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.5143, allocations: 4.969 kB / 0.6681 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5143, allocations: 4 kB / 0.6681 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5143, allocations: 0 / 0.6681 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.5145, allocations: 176 kB / 0.6682 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.5146, allocations: 77.11 kB / 0.6683 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.5146, allocations: 5.312 kB / 0.6683 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.5147, allocations: 12.36 kB / 0.6683 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.5147, allocations: 5.359 kB / 0.6683 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.5147, allocations: 5.281 kB / 0.6683 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.319e-05/0.5148, allocations: 79.97 kB / 0.6684 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5148, allocations: 0 / 0.6684 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002238/0.515, allocations: 9.406 kB / 0.6684 GB, free: 3.316 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0004305/0.5154, allocations: 0.7133 MB / 0.6691 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.5157, allocations: 53.28 kB / 0.6692 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5157, allocations: 0 / 0.6692 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.5158, allocations: 28.05 kB / 0.6692 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.5161, allocations: 9.516 kB / 0.6692 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.5166, allocations: 159.3 kB / 0.6693 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.5168, allocations: 0.6782 MB / 0.67 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.5168, allocations: 4.062 kB / 0.67 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.5168, allocations: 12.66 kB / 0.67 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.5169, allocations: 1.469 kB / 0.67 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.5332, allocations: 1.457 MB / 0.6715 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.248/7.781, allocations: 9.188 kB / 0.6715 GB, free: 0.8633 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)