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.00212/0.00212, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002381/0.002381, allocations: 193 kB / 16.67 MB, free: 6.539 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9687/0.9687, allocations: 135.6 MB / 426.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 63.89 kB / 0.5858 GB, free: 3.23 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3787, allocations: 81.02 MB / 0.6649 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002025/0.3808, allocations: 1.431 MB / 0.6663 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002192/0.381, allocations: 96.94 kB / 0.6664 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.3811, allocations: 1.156 kB / 0.6664 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.3811, allocations: 3.938 kB / 0.6664 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.704e-05/0.3811, allocations: 5.031 kB / 0.6664 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.3813, allocations: 16.33 kB / 0.6664 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.918e-05/0.3814, allocations: 26.36 kB / 0.6664 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.788e-05/0.3815, allocations: 11.75 kB / 0.6664 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.3815, allocations: 10.83 kB / 0.6664 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.363e-05/0.3815, allocations: 15.05 kB / 0.6664 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.3816, allocations: 2.188 kB / 0.6664 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.165e-05/0.3816, allocations: 17.48 kB / 0.6665 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.3816, allocations: 7.984 kB / 0.6665 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.3817, allocations: 10.5 kB / 0.6665 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.906e-05/0.3818, allocations: 32.22 kB / 0.6665 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.3818, allocations: 3.938 kB / 0.6665 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3818, allocations: 1.469 kB / 0.6665 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.3818, allocations: 4 kB / 0.6665 GB, free: 5.691 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.0003047/0.3821, allocations: 342.7 kB / 0.6668 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.3821, allocations: 9.719 kB / 0.6669 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.508e-05/0.3822, allocations: 35.97 kB / 0.6669 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.3823, allocations: 11.83 kB / 0.6669 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.879e-05/0.3824, allocations: 166.8 kB / 0.6671 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.3824, allocations: 1.906 kB / 0.6671 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.3824, allocations: 4.312 kB / 0.6671 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3826, allocations: 62.25 kB / 0.6671 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3826, allocations: 3.938 kB / 0.6671 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.3826, allocations: 0 / 0.6671 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3826, allocations: 1.469 kB / 0.6671 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.3828, allocations: 45.98 kB / 0.6672 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.3831, allocations: 266.5 kB / 0.6674 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.3832, allocations: 59.33 kB / 0.6675 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.3833, allocations: 31.17 kB / 0.6675 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.3833, allocations: 0 / 0.6675 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.3834, allocations: 35.84 kB / 0.6676 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3834, allocations: 0 / 0.6676 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000376/0.3837, allocations: 100.3 kB / 0.6676 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.826e-05/0.3838, allocations: 55.34 kB / 0.6677 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.476e-05/0.3838, allocations: 109.6 kB / 0.6678 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.3838, allocations: 29.83 kB / 0.6678 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.171e-05/0.3839, allocations: 89.5 kB / 0.6679 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.3839, allocations: 5.266 kB / 0.6679 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.3839, allocations: 12.06 kB / 0.6679 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.382e-05/0.384, allocations: 320.4 kB / 0.6682 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.3841, allocations: 16.77 kB / 0.6683 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3842, allocations: 28.97 kB / 0.6683 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.3844, allocations: 51.12 kB / 0.6683 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3844, allocations: 3.938 kB / 0.6683 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002194/0.3846, allocations: 80.95 kB / 0.6684 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.3846, allocations: 5.438 kB / 0.6684 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.3846, allocations: 4 kB / 0.6684 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.3846, allocations: 0 / 0.6684 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.3847, allocations: 15.61 kB / 0.6684 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.3847, allocations: 1.094 kB / 0.6684 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.3848, allocations: 12.36 kB / 0.6685 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3848, allocations: 1.219 kB / 0.6685 GB, free: 3.762 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 3.983e-05/0.3849, allocations: 116.1 kB / 0.6686 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.3849, allocations: 5 kB / 0.6686 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.083e-05/0.3849, allocations: 9.125 kB / 0.6686 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3849, allocations: 3.984 kB / 0.6686 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.3849, allocations: 0 / 0.6686 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.3849, allocations: 1.125 kB / 0.6686 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.385, allocations: 168.5 kB / 0.6687 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3851, allocations: 0 / 0.6687 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.401e-05/0.3851, allocations: 12.05 kB / 0.6688 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3851, allocations: 0 / 0.6688 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.3851, allocations: 3.984 kB / 0.6688 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3852, allocations: 0 / 0.6688 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3852, allocations: 4.719 kB / 0.6688 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.3854, allocations: 178.8 kB / 0.6689 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.3854, allocations: 78.58 kB / 0.669 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.3854, allocations: 5.047 kB / 0.669 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/0.3855, allocations: 8.094 kB / 0.669 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.3856, allocations: 10.27 kB / 0.669 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3856, allocations: 4 kB / 0.669 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.999e-05/0.3856, allocations: 80.75 kB / 0.6691 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3856, allocations: 0 / 0.6691 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002141/0.3858, allocations: 9.219 kB / 0.6691 GB, free: 3.055 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.0003619/0.3862, allocations: 0.7119 MB / 0.6698 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.3864, allocations: 56.5 kB / 0.6699 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3864, allocations: 1.188 kB / 0.6699 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.3866, allocations: 26.89 kB / 0.6699 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.3868, allocations: 5.062 kB / 0.6699 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.3872, allocations: 152.6 kB / 0.67 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.481e-05/0.3873, allocations: 0.6779 MB / 0.6707 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.807e-05/0.3873, allocations: 4.062 kB / 0.6707 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.3873, allocations: 8.875 kB / 0.6707 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.3873, allocations: 0 / 0.6707 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5014/0.8888, allocations: 1.45 MB / 0.6721 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.66, allocations: 3.875 kB / 0.6721 GB, free: 0.625 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)