Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.008591/0.008591, allocations: 169.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3422/0.3422, allocations: 40.01 MB / 310.7 MB, free: 9.938 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007959/0.0007962, allocations: 20.66 kB / 379.4 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1133, allocations: 57.96 MB / 437.4 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003225/0.1166, allocations: 2.989 MB / 440.4 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.1191, allocations: 1.552 MB / 441.9 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002649/0.1194, allocations: 19.88 kB / 442 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.1198, allocations: 111.2 kB / 442.1 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000466/0.1202, allocations: 171 kB / 442.2 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009672/0.1212, allocations: 487.3 kB / 442.7 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008161/0.1221, allocations: 0.8651 MB / 443.6 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.1224, allocations: 226.4 kB / 443.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004137/0.1229, allocations: 298.4 kB / 444.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.1233, allocations: 342.2 kB / 444.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.1234, allocations: 20 kB / 444.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.112e-05/0.1234, allocations: 24 kB / 444.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.1236, allocations: 163.3 kB / 444.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.1239, allocations: 311.5 kB / 444.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005811/0.1245, allocations: 0.7003 MB / 445.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1245, allocations: 0 / 445.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1245, allocations: 0 / 445.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.1245, allocations: 0 / 445.6 MB, free: 9.883 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002024/0.1265, allocations: 1.047 MB / 446.7 MB, free: 8.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1266, allocations: 12.03 kB / 446.7 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.1267, allocations: 91.81 kB / 446.8 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008306/0.1276, allocations: 0.5623 MB / 447.3 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.1276, allocations: 41.38 kB / 447.4 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.021e-05/0.1277, allocations: 60.11 kB / 447.4 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.1289, allocations: 0.629 MB / 448.1 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.129, allocations: 7.891 kB / 448.1 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.129, allocations: 16 kB / 448.1 MB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.1291, allocations: 12 kB / 448.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.1302, allocations: 0.49 MB / 448.6 MB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.1339, allocations: 2.698 MB / 451.3 MB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.135, allocations: 0.5818 MB / 451.9 MB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/0.1356, allocations: 274.4 kB / 452.1 MB, free: 3.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/0.1357, allocations: 7.984 kB / 452.2 MB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.1357, allocations: 46.59 kB / 452.2 MB, free: 3.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.695e-06/0.1357, allocations: 0 / 452.2 MB, free: 3.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002587/0.1383, allocations: 1.206 MB / 453.4 MB, free: 1.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.1384, allocations: 136.5 kB / 453.5 MB, free: 1.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000863/0.1393, allocations: 0.6567 MB / 454.2 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.581e-05/0.1394, allocations: 37.7 kB / 454.2 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.1396, allocations: 364 kB / 454.6 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.1398, allocations: 173.5 kB / 454.8 MB, free: 412 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.988e-05/0.1399, allocations: 61.69 kB / 454.8 MB, free: 344 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.14, allocations: 334 kB / 455.1 MB, free: 4 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1812/0.3212, allocations: 281.2 kB / 455.4 MB, free: 48.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007353/0.322, allocations: 447.9 kB / 455.9 MB, free: 48.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.3233, allocations: 0.7206 MB / 456.6 MB, free: 47.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.3233, allocations: 2.844 kB / 456.6 MB, free: 47.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001708/0.325, allocations: 0.8372 MB / 457.4 MB, free: 47.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.3252, allocations: 229.9 kB / 457.6 MB, free: 47.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.3252, allocations: 3.297 kB / 457.6 MB, free: 47.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.978e-05/0.3253, allocations: 8.75 kB / 457.7 MB, free: 47.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/0.326, allocations: 167.3 kB / 457.8 MB, free: 47.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/0.326, allocations: 13.39 kB / 457.8 MB, free: 47.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006951/0.3267, allocations: 90.42 kB / 457.9 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.3268, allocations: 25.94 kB / 457.9 MB, free: 47.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.3268, allocations: 5.156 kB / 457.9 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001337/0.3281, allocations: 0.719 MB / 458.7 MB, free: 47.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.3282, allocations: 6.062 kB / 458.7 MB, free: 47.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3282, allocations: 6.062 kB / 458.7 MB, free: 47.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/0.3288, allocations: 157.9 kB / 458.8 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.3288, allocations: 11.3 kB / 458.8 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/0.3294, allocations: 79.45 kB / 458.9 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.3295, allocations: 30.81 kB / 459 MB, free: 47.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0003794/0.3299, allocations: 286.9 kB / 459.2 MB, free: 47.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.3301, allocations: 73.44 kB / 459.3 MB, free: 47.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.3303, allocations: 95 kB / 459.4 MB, free: 47.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.3304, allocations: 5.578 kB / 459.4 MB, free: 47.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.3304, allocations: 3.125 kB / 459.4 MB, free: 47.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.3304, allocations: 0.7969 kB / 459.4 MB, free: 47.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.3317, allocations: 0.8725 MB / 460.3 MB, free: 47.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.3317, allocations: 0 / 460.3 MB, free: 47.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005956/0.3323, allocations: 119.8 kB / 460.4 MB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.3323, allocations: 3 kB / 460.4 MB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.3324, allocations: 15.69 kB / 460.4 MB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3324, allocations: 7.062 kB / 460.4 MB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3324, allocations: 0 / 460.4 MB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.3343, allocations: 1.208 MB / 461.6 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.3345, allocations: 195.7 kB / 461.8 MB, free: 46.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3346, allocations: 12.84 kB / 461.8 MB, free: 46.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/0.3352, allocations: 67.33 kB / 461.9 MB, free: 46.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.3354, allocations: 34.7 kB / 461.9 MB, free: 46.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.3354, allocations: 15.53 kB / 461.9 MB, free: 46.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007199/0.3361, allocations: 467 kB / 462.4 MB, free: 46.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3361, allocations: 0 / 462.4 MB, free: 46.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008333/0.337, allocations: 194.1 kB / 462.6 MB, free: 46.58 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (44): * Single equations (assignments): 44 * 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.0001445/0.3371, allocations: 118.5 kB / 462.7 MB, free: 46.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00206/0.3392, allocations: 1.022 MB / 463.7 MB, free: 46.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3392, allocations: 3.281 kB / 463.7 MB, free: 46.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005897/0.3398, allocations: 309.3 kB / 464 MB, free: 46.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.341, allocations: 175.4 kB / 464.2 MB, free: 46.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.3436, allocations: 1.808 MB / 466 MB, free: 45.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.344, allocations: 0.9525 MB / 467 MB, free: 44.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004876/0.3445, allocations: 143.5 kB / 467.1 MB, free: 44.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.3447, allocations: 47.78 kB / 467.2 MB, free: 44.78 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3447, allocations: 0 / 467.2 MB, free: 44.78 MB / 382.1 MB Notification: Performance of Templates: time 0.01181/0.3565, allocations: 6.801 MB / 474 MB, free: 44.35 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) Environment - environmentSimulation: