Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01183/0.01183, allocations: 101 kB / 15.73 MB, free: 6.477 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.002722/0.002722, allocations: 195.9 kB / 16.67 MB, free: 6.379 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.923/1.923, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.00193/0.00193, allocations: 49.62 kB / 326.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1635, allocations: 46.62 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01157/0.1751, allocations: 7.935 MB / 381.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006811/0.182, allocations: 2.634 MB / 383.7 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.1836, allocations: 23.94 kB / 383.8 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.1861, allocations: 0.5793 MB / 384.3 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002578/0.1887, allocations: 488.4 kB / 384.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007204/0.1895, allocations: 239.6 kB / 385.1 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002521/0.192, allocations: 1.432 MB / 386.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.1931, allocations: 0.5885 MB / 387.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.1941, allocations: 0.5408 MB / 387.6 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000775/0.1949, allocations: 0.5833 MB / 388.2 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.1951, allocations: 136 kB / 388.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004039/0.1956, allocations: 172 kB / 388.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.1959, allocations: 282.9 kB / 388.8 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006976/0.1966, allocations: 0.6454 MB / 389.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.1986, allocations: 1.694 MB / 391.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1986, allocations: 0 / 391.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.1986, allocations: 0 / 391.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.1987, allocations: 3.938 kB / 391.1 MB, free: 15.28 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002508/0.2012, allocations: 1.437 MB / 392.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.2012, allocations: 8.031 kB / 392.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006393/0.2019, allocations: 171.4 kB / 392.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.2034, allocations: 0.73 MB / 393.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/0.2035, allocations: 74 kB / 393.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.2037, allocations: 99.91 kB / 393.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.2055, allocations: 0.9229 MB / 394.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/0.2055, allocations: 0 / 394.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.514e-05/0.2056, allocations: 40 kB / 394.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.2057, allocations: 24 kB / 394.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.2069, allocations: 0.6285 MB / 395.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005681/0.2126, allocations: 3.866 MB / 399.1 MB, free: 6.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/0.2133, allocations: 359.5 kB / 399.5 MB, free: 6.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.2136, allocations: 144.8 kB / 399.6 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.2137, allocations: 4 kB / 399.6 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.125e-05/0.2138, allocations: 42.56 kB / 399.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.255e-06/0.2138, allocations: 0 / 399.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002588/0.2164, allocations: 1.193 MB / 400.8 MB, free: 5.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.2165, allocations: 81.11 kB / 400.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.2177, allocations: 0.8291 MB / 401.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.2178, allocations: 29.7 kB / 401.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004646/0.2182, allocations: 0.564 MB / 402.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.924e-05/0.2183, allocations: 130.2 kB / 402.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.2185, allocations: 126.5 kB / 402.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2187, allocations: 330 kB / 402.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.219, allocations: 149.9 kB / 403.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/0.2196, allocations: 456 kB / 403.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008749/0.2204, allocations: 0.6398 MB / 404.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.2205, allocations: 4 kB / 404.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001186/0.2216, allocations: 0.6924 MB / 404.8 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.2217, allocations: 20.06 kB / 404.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.2217, allocations: 8 kB / 404.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002302/0.222, allocations: 32.84 kB / 404.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/0.2225, allocations: 159.7 kB / 405.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.2241, allocations: 1.382 MB / 406.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006295/0.2248, allocations: 35.89 kB / 406.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.2248, allocations: 36.12 kB / 406.5 MB, free: 14.92 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005669/0.2254, allocations: 253.6 kB / 406.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.2256, allocations: 90.94 kB / 406.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009171/0.2265, allocations: 370.6 kB / 407.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2265, allocations: 0 / 407.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2265, allocations: 8 kB / 407.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.2265, allocations: 3.984 kB / 407.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/0.2292, allocations: 1.273 MB / 408.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2293, allocations: 4 kB / 408.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.2296, allocations: 75.84 kB / 408.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.2297, allocations: 24.84 kB / 408.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.2298, allocations: 11.94 kB / 408.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.2314, allocations: 1.371 MB / 410 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.2315, allocations: 4.156 kB / 410 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.2327, allocations: 0.6316 MB / 410.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004936/0.2332, allocations: 192.1 kB / 410.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/0.2334, allocations: 8 kB / 410.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/0.2341, allocations: 31.91 kB / 410.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.2342, allocations: 27.91 kB / 410.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.2343, allocations: 12 kB / 410.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001127/0.2354, allocations: 0.5615 MB / 411.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2354, allocations: 0 / 411.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001234/0.2366, allocations: 188 kB / 411.6 MB, free: 9.496 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0004316/0.2371, allocations: 127.2 kB / 411.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.2387, allocations: 0.4988 MB / 412.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.2387, allocations: 2 kB / 412.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005485/0.2392, allocations: 270.9 kB / 412.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.2406, allocations: 211.1 kB / 412.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.2447, allocations: 1.687 MB / 414.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009896/0.2457, allocations: 0.9923 MB / 415.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005653/0.2463, allocations: 110.8 kB / 415.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.2464, allocations: 55.44 kB / 415.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of SimCode: time 1.192e-06/0.2465, allocations: 0 / 415.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of Templates: time 0.02462/0.2711, allocations: 9.637 MB / 425.2 MB, free: 11.79 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1)