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.007683/0.007683, allocations: 107.4 kB / 15.74 MB, free: 5.582 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.001409/0.001409, allocations: 197.9 kB / 16.67 MB, free: 5.508 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.977/1.977, allocations: 205.1 MB / 222.5 MB, free: 4.457 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.001849/0.001849, allocations: 50.77 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1611, allocations: 46.63 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01162/0.1728, allocations: 8.036 MB / 381.2 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006553/0.1794, allocations: 2.673 MB / 383.9 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.1812, allocations: 23.94 kB / 383.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002639/0.1838, allocations: 0.5559 MB / 384.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.1864, allocations: 464.3 kB / 384.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.1874, allocations: 259.7 kB / 385.2 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003368/0.1908, allocations: 1.467 MB / 386.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.1922, allocations: 0.5884 MB / 387.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/0.1935, allocations: 0.5564 MB / 387.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000821/0.1943, allocations: 0.595 MB / 388.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.1945, allocations: 136 kB / 388.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.1949, allocations: 176 kB / 388.7 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.1952, allocations: 279 kB / 389 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008096/0.196, allocations: 0.6609 MB / 389.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002622/0.1987, allocations: 1.725 MB / 391.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.1987, allocations: 7.938 kB / 391.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1987, allocations: 0 / 391.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.1987, allocations: 0 / 391.3 MB, free: 15.02 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.002759/0.2015, allocations: 1.449 MB / 392.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.2016, allocations: 8.031 kB / 392.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006671/0.2022, allocations: 191.3 kB / 393 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.2036, allocations: 0.734 MB / 393.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.957e-05/0.2036, allocations: 74 kB / 393.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.2038, allocations: 103.9 kB / 393.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.2055, allocations: 0.9346 MB / 394.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.2055, allocations: 0 / 394.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.547e-05/0.2056, allocations: 47.98 kB / 394.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.2057, allocations: 24 kB / 394.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.2069, allocations: 0.6325 MB / 395.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005955/0.2128, allocations: 3.887 MB / 399.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/0.2137, allocations: 441.7 kB / 399.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006405/0.2143, allocations: 273.2 kB / 400.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.457e-05/0.2144, allocations: 4.328 kB / 400.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.2144, allocations: 42.83 kB / 400.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.765e-06/0.2144, allocations: 0 / 400.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.003053/0.2175, allocations: 1.396 MB / 401.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.423e-05/0.2176, allocations: 85.11 kB / 401.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.2189, allocations: 0.8291 MB / 402.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.219, allocations: 33.7 kB / 402.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/0.2194, allocations: 0.5565 MB / 403.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.2196, allocations: 153.8 kB / 403.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.2198, allocations: 134.5 kB / 403.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.22, allocations: 334 kB / 403.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.2203, allocations: 169.9 kB / 403.8 MB, free: 2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005439/0.2209, allocations: 464 kB / 404.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009275/0.2218, allocations: 0.6546 MB / 404.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2218, allocations: 0 / 404.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001298/0.2231, allocations: 0.7668 MB / 405.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2232, allocations: 11.98 kB / 405.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.2232, allocations: 12 kB / 405.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/0.2235, allocations: 85.61 kB / 405.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.224, allocations: 159.9 kB / 406 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/0.2267, allocations: 3.142 MB / 409.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006253/0.2274, allocations: 31.89 kB / 409.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.2274, allocations: 36 kB / 409.2 MB, free: 12.08 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.0004971/0.2279, allocations: 261.6 kB / 409.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.2281, allocations: 86.97 kB / 409.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009481/0.229, allocations: 499.5 kB / 410 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.229, allocations: 4 kB / 410 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2291, allocations: 0 / 410 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2291, allocations: 0 / 410 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.2314, allocations: 1.446 MB / 411.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.2314, allocations: 0 / 411.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.2317, allocations: 67.91 kB / 411.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/0.232, allocations: 73.89 kB / 411.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.232, allocations: 15.94 kB / 411.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002814/0.2348, allocations: 3.118 MB / 414.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.2349, allocations: 8 kB / 414.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.2362, allocations: 0.7661 MB / 415.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.2364, allocations: 192.2 kB / 415.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-05/0.2365, allocations: 27.91 kB / 415.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.2369, allocations: 23.98 kB / 415.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/0.237, allocations: 35.89 kB / 415.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.2371, allocations: 12 kB / 415.8 MB, free: 5.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008249/0.2379, allocations: 0.5654 MB / 416.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2379, allocations: 0 / 416.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008852/0.2388, allocations: 208 kB / 416.6 MB, free: 4.254 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.0002309/0.239, allocations: 119.2 kB / 416.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.2403, allocations: 0.6873 MB / 417.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2403, allocations: 0 / 417.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006815/0.241, allocations: 446 kB / 417.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.2421, allocations: 231.4 kB / 418 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/0.2452, allocations: 1.714 MB / 419.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007137/0.2459, allocations: 1.005 MB / 420.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000403/0.2464, allocations: 103.3 kB / 420.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.2465, allocations: 55.44 kB / 420.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2465, allocations: 0 / 420.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Templates: time 0.02299/0.2695, allocations: 10.88 MB / 431.8 MB, free: 4.863 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)