Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.01352/0.01352, allocations: 102 kB / 15.73 MB, free: 6.066 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.002064/0.002064, allocations: 196.5 kB / 16.68 MB, free: 5.977 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.888/1.888, allocations: 205.1 MB / 222.6 MB, free: 4.328 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.001835/0.001835, allocations: 49.73 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1642, allocations: 46.63 MB / 373.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01316/0.1774, allocations: 7.927 MB / 381.1 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007266/0.1847, allocations: 2.63 MB / 383.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.1864, allocations: 27.88 kB / 383.8 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002428/0.1889, allocations: 0.5481 MB / 384.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.1915, allocations: 452.4 kB / 384.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009023/0.1925, allocations: 243.7 kB / 385 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003043/0.1955, allocations: 1.432 MB / 386.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.1968, allocations: 0.5885 MB / 387 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.198, allocations: 0.533 MB / 387.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008991/0.1989, allocations: 0.5794 MB / 388.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.1991, allocations: 136 kB / 388.3 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.1995, allocations: 176 kB / 388.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.1997, allocations: 274.9 kB / 388.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007346/0.2005, allocations: 0.6532 MB / 389.4 MB, free: 1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.2028, allocations: 1.69 MB / 391 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.2028, allocations: 0 / 391 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.2028, allocations: 7.875 kB / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.293e-05/0.2028, allocations: 0 / 391.1 MB, free: 15.3 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.002539/0.2054, allocations: 1.433 MB / 392.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.2054, allocations: 8.031 kB / 392.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000574/0.206, allocations: 167.4 kB / 392.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.2073, allocations: 0.734 MB / 393.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.743e-05/0.2074, allocations: 70 kB / 393.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.2075, allocations: 99.91 kB / 393.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.2092, allocations: 0.9268 MB / 394.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.2092, allocations: 3.984 kB / 394.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-05/0.2093, allocations: 40 kB / 394.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.2094, allocations: 24 kB / 394.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.2106, allocations: 0.6246 MB / 395.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005163/0.2157, allocations: 3.877 MB / 399.1 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/0.2164, allocations: 352.8 kB / 399.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.2167, allocations: 144.8 kB / 399.5 MB, free: 6.422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.2167, allocations: 4 kB / 399.5 MB, free: 6.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.2168, allocations: 38.56 kB / 399.6 MB, free: 6.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.906e-06/0.2168, allocations: 3.938 kB / 399.6 MB, free: 6.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002484/0.2193, allocations: 1.189 MB / 400.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.2193, allocations: 81.11 kB / 400.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.2205, allocations: 0.8213 MB / 401.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.2205, allocations: 29.7 kB / 401.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/0.221, allocations: 0.5718 MB / 402.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2211, allocations: 126.2 kB / 402.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.2212, allocations: 126.5 kB / 402.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2214, allocations: 334 kB / 402.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.2217, allocations: 153.9 kB / 403 MB, free: 2.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.2222, allocations: 452 kB / 403.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008951/0.2231, allocations: 0.6398 MB / 404.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.2232, allocations: 4 kB / 404.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001261/0.2244, allocations: 0.684 MB / 404.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.2245, allocations: 16.72 kB / 404.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.2245, allocations: 8 kB / 404.8 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/0.2248, allocations: 40.84 kB / 404.8 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.2253, allocations: 159.7 kB / 405 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.2266, allocations: 1.386 MB / 406.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/0.2272, allocations: 35.89 kB / 406.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.2273, allocations: 35.98 kB / 406.4 MB, free: 14.93 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.0004873/0.2278, allocations: 261.6 kB / 406.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.2279, allocations: 90.84 kB / 406.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007779/0.2287, allocations: 366.6 kB / 407.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2287, allocations: 4 kB / 407.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2288, allocations: 0 / 407.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2288, allocations: 7.984 kB / 407.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.2308, allocations: 1.273 MB / 408.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.2308, allocations: 0 / 408.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.2312, allocations: 75.84 kB / 408.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/0.2313, allocations: 24.78 kB / 408.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.2314, allocations: 11.94 kB / 408.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.2325, allocations: 1.375 MB / 409.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2325, allocations: 0 / 409.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.2336, allocations: 0.6396 MB / 410.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003723/0.234, allocations: 192.1 kB / 410.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.311e-05/0.2341, allocations: 8 kB / 410.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.2345, allocations: 31.91 kB / 410.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/0.2346, allocations: 27.97 kB / 410.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.2346, allocations: 8 kB / 410.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009713/0.2356, allocations: 0.5615 MB / 411.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2356, allocations: 0 / 411.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008821/0.2365, allocations: 188 kB / 411.6 MB, free: 9.508 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.0002824/0.2368, allocations: 127.2 kB / 411.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.2379, allocations: 0.5071 MB / 412.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2379, allocations: 0 / 412.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004555/0.2384, allocations: 260.1 kB / 412.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.2395, allocations: 207.4 kB / 412.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.2427, allocations: 1.698 MB / 414.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006855/0.2434, allocations: 0.9884 MB / 415.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004906/0.2439, allocations: 102.9 kB / 415.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.2441, allocations: 59.44 kB / 415.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of SimCode: time 1.623e-06/0.2441, allocations: 0 / 415.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of Templates: time 0.02245/0.2665, allocations: 9.645 MB / 425.1 MB, free: 11.79 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1)