Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear") translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 116.8 kB / 16.37 MB, free: 6.012 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.001258/0.001258, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8971/0.8971, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4205, allocations: 80.19 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002379/0.423, allocations: 1.478 MB / 0.5829 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003285/0.4233, allocations: 114.9 kB / 0.583 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.4234, allocations: 1.812 kB / 0.5831 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.631e-05/0.4234, allocations: 5.344 kB / 0.5831 GB, free: 26.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.688e-05/0.4235, allocations: 9 kB / 0.5831 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.4237, allocations: 31.14 kB / 0.5831 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.659e-05/0.4238, allocations: 44.5 kB / 0.5831 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.4239, allocations: 9.719 kB / 0.5831 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.871e-05/0.424, allocations: 19.58 kB / 0.5832 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.424, allocations: 22.25 kB / 0.5832 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.4241, allocations: 3.656 kB / 0.5832 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.729e-05/0.4241, allocations: 20.42 kB / 0.5832 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.4242, allocations: 14.33 kB / 0.5832 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.4242, allocations: 21.56 kB / 0.5832 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.4243, allocations: 60.27 kB / 0.5833 GB, free: 26.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4244, allocations: 1.438 kB / 0.5833 GB, free: 26.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4244, allocations: 1.031 kB / 0.5833 GB, free: 26.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.4244, allocations: 3.984 kB / 0.5833 GB, free: 26.23 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004372/0.4248, allocations: 382.4 kB / 0.5837 GB, free: 25.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4249, allocations: 9.5 kB / 0.5837 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.4249, allocations: 4.125 kB / 0.5837 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.217e-05/0.425, allocations: 179.7 kB / 0.5839 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.425, allocations: 2.312 kB / 0.5839 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.425, allocations: 3.562 kB / 0.5839 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.4253, allocations: 76.81 kB / 0.5839 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.4253, allocations: 192 / 0.5839 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4253, allocations: 3.938 kB / 0.5839 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4253, allocations: 1.188 kB / 0.5839 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.4256, allocations: 80.94 kB / 0.584 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.4259, allocations: 278.8 kB / 0.5843 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.4261, allocations: 75.09 kB / 0.5844 GB, free: 25.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.4262, allocations: 47.47 kB / 0.5844 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.4264, allocations: 111 kB / 0.5845 GB, free: 25.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.4265, allocations: 30.56 kB / 0.5845 GB, free: 25.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.4265, allocations: 0.7812 kB / 0.5845 GB, free: 25.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004854/0.427, allocations: 145.5 kB / 0.5847 GB, free: 24.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.427, allocations: 63.28 kB / 0.5847 GB, free: 24.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.504e-05/0.4271, allocations: 129 kB / 0.5849 GB, free: 24.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/0.4271, allocations: 25.7 kB / 0.5849 GB, free: 24.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.4271, allocations: 93.52 kB / 0.585 GB, free: 24.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.4271, allocations: 9.297 kB / 0.585 GB, free: 24.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.4272, allocations: 12.66 kB / 0.585 GB, free: 24.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.4272, allocations: 317.7 kB / 0.5853 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.4274, allocations: 37.39 kB / 0.5853 GB, free: 24.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.4275, allocations: 39.27 kB / 0.5854 GB, free: 24.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.4278, allocations: 80.59 kB / 0.5854 GB, free: 24.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4278, allocations: 3.938 kB / 0.5854 GB, free: 24.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000294/0.4281, allocations: 108.4 kB / 0.5856 GB, free: 24.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4281, allocations: 5.125 kB / 0.5856 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4281, allocations: 5.188 kB / 0.5856 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4281, allocations: 5.219 kB / 0.5856 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.4283, allocations: 18.44 kB / 0.5856 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4283, allocations: 2.594 kB / 0.5856 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.083e-05/0.4284, allocations: 13.73 kB / 0.5856 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4284, allocations: 2.75 kB / 0.5856 GB, free: 24.13 MB / 446.1 MB 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 (3): * Single equations (assignments): 3 * 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.21e-05/0.4284, allocations: 118 kB / 0.5857 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.4285, allocations: 6.594 kB / 0.5857 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.4288, allocations: 122.6 kB / 0.5858 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4288, allocations: 2 kB / 0.5858 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4288, allocations: 1.125 kB / 0.5858 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4288, allocations: 5.281 kB / 0.5858 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.429, allocations: 183.8 kB / 0.586 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.429, allocations: 1.156 kB / 0.586 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.979e-05/0.4291, allocations: 18.61 kB / 0.586 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4291, allocations: 0.875 kB / 0.586 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.4291, allocations: 1.125 kB / 0.586 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4291, allocations: 3.984 kB / 0.586 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.4291, allocations: 2.562 kB / 0.586 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.4294, allocations: 205.6 kB / 0.5862 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.4295, allocations: 85.12 kB / 0.5863 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.4295, allocations: 1.281 kB / 0.5863 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.4296, allocations: 10.73 kB / 0.5863 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.4296, allocations: 9.562 kB / 0.5863 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.4296, allocations: 1.406 kB / 0.5863 GB, free: 23.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.594e-05/0.4297, allocations: 102.7 kB / 0.5864 GB, free: 23.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4297, allocations: 0 / 0.5864 GB, free: 23.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.4299, allocations: 9.219 kB / 0.5865 GB, free: 23.33 MB / 446.1 MB 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 (3): * Single equations (assignments): 3 * 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.0001309/0.4301, allocations: 101.2 kB / 0.5866 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.4304, allocations: 80.23 kB / 0.5866 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4304, allocations: 1.375 kB / 0.5866 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.4306, allocations: 40.23 kB / 0.5867 GB, free: 23.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.4308, allocations: 12.12 kB / 0.5867 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.4311, allocations: 159.8 kB / 0.5868 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.4313, allocations: 0.6887 MB / 0.5875 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.618e-05/0.4313, allocations: 2.219 kB / 0.5875 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.4313, allocations: 9.75 kB / 0.5875 GB, free: 22.33 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4313, allocations: 0 / 0.5875 GB, free: 22.33 MB / 446.1 MB Notification: Performance of Templates: time 0.002874/0.4342, allocations: 0.8109 MB / 0.5883 GB, free: 21.95 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)