Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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) 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(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01136/0.01136, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.001803/0.001803, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.851/1.851, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 46.44 kB / 326.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1512, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009711/0.1609, allocations: 8.04 MB / 381.2 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005547/0.1665, allocations: 2.677 MB / 383.9 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.1676, allocations: 23.94 kB / 383.9 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.1694, allocations: 0.548 MB / 384.5 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.1707, allocations: 472.3 kB / 384.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.1713, allocations: 247.7 kB / 385.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00193/0.1732, allocations: 1.479 MB / 386.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008373/0.1741, allocations: 0.5806 MB / 387.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007542/0.1748, allocations: 0.5447 MB / 387.8 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006779/0.1755, allocations: 0.5988 MB / 388.4 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.1757, allocations: 140 kB / 388.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003961/0.1761, allocations: 184 kB / 388.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.1763, allocations: 279 kB / 389 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005599/0.1769, allocations: 0.657 MB / 389.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.1787, allocations: 1.728 MB / 391.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1787, allocations: 0 / 391.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1787, allocations: 0 / 391.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.1788, allocations: 4 kB / 391.3 MB, free: 15.04 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002449/0.1812, allocations: 1.49 MB / 392.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.1813, allocations: 8.031 kB / 392.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006415/0.1819, allocations: 192 kB / 393 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.1832, allocations: 0.7423 MB / 393.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.309e-05/0.1833, allocations: 74 kB / 393.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.1835, allocations: 99.98 kB / 393.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.1853, allocations: 0.9347 MB / 394.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/0.1854, allocations: 7.953 kB / 394.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/0.1855, allocations: 43.98 kB / 394.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.1855, allocations: 24 kB / 395 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.1868, allocations: 0.6363 MB / 395.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005785/0.1926, allocations: 3.889 MB / 399.5 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007895/0.1935, allocations: 440.6 kB / 399.9 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006093/0.1941, allocations: 277.2 kB / 400.2 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.058e-05/0.1942, allocations: 8.328 kB / 400.2 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.1942, allocations: 38.89 kB / 400.2 MB, free: 5.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.524e-06/0.1942, allocations: 0 / 400.2 MB, free: 5.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.003514/0.1978, allocations: 1.417 MB / 401.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.291e-05/0.1979, allocations: 81.11 kB / 401.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.1993, allocations: 0.8253 MB / 402.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.1993, allocations: 33.7 kB / 402.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000599/0.1999, allocations: 0.5735 MB / 403.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.2001, allocations: 166.6 kB / 403.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.2003, allocations: 130.5 kB / 403.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2004, allocations: 334 kB / 403.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/0.2009, allocations: 165.9 kB / 403.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005804/0.2015, allocations: 464 kB / 404.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009356/0.2025, allocations: 0.6546 MB / 405 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.2025, allocations: 4 kB / 405 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001402/0.2039, allocations: 0.7749 MB / 405.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.2039, allocations: 12 kB / 405.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.204, allocations: 12.36 kB / 405.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003795/0.2043, allocations: 89.62 kB / 405.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005364/0.2049, allocations: 151.8 kB / 406.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/0.2085, allocations: 3.142 MB / 409.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000773/0.2093, allocations: 39.94 kB / 409.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.2094, allocations: 36 kB / 409.3 MB, free: 12 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006413/0.21, allocations: 253.5 kB / 409.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.2102, allocations: 95.55 kB / 409.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.2113, allocations: 495.5 kB / 410.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.2113, allocations: 8 kB / 410.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.2113, allocations: 4 kB / 410.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.2113, allocations: 0 / 410.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.214, allocations: 1.443 MB / 411.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.214, allocations: 0 / 411.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/0.2145, allocations: 75.73 kB / 411.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003135/0.2148, allocations: 77.89 kB / 411.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.2149, allocations: 8 kB / 411.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003904/0.2188, allocations: 3.126 MB / 414.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.2188, allocations: 3.984 kB / 414.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.2204, allocations: 0.7627 MB / 415.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/0.2208, allocations: 208.7 kB / 415.8 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.727e-05/0.2209, allocations: 11.94 kB / 415.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.2213, allocations: 31.91 kB / 415.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.2214, allocations: 35.95 kB / 415.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.2215, allocations: 16 kB / 415.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001034/0.2225, allocations: 0.5576 MB / 416.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.2225, allocations: 0 / 416.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001309/0.2238, allocations: 208 kB / 416.7 MB, free: 4.168 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003091/0.2242, allocations: 123.1 kB / 416.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.2258, allocations: 0.6854 MB / 417.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.2258, allocations: 2 kB / 417.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007358/0.2265, allocations: 446.4 kB / 417.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.2276, allocations: 234.8 kB / 418.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.2312, allocations: 1.739 MB / 419.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007999/0.232, allocations: 1.001 MB / 420.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004396/0.2325, allocations: 103.3 kB / 421 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.2326, allocations: 59.42 kB / 421.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.2326, allocations: 0 / 421.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Templates: time 0.02276/0.2554, allocations: 10.66 MB / 431.7 MB, free: 4.965 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1)