Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009867/0.009867, allocations: 100.2 kB / 15.73 MB, free: 6.004 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.001532/0.001532, allocations: 192.9 kB / 16.67 MB, free: 5.926 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.898/1.898, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.001189/0.001189, allocations: 54.94 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1181, allocations: 46.64 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01232/0.1304, allocations: 8.941 MB / 382.1 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007528/0.138, allocations: 3.217 MB / 385.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.1398, allocations: 39.81 kB / 385.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.1422, allocations: 0.7108 MB / 386.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003499/0.1457, allocations: 0.7379 MB / 386.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.1469, allocations: 335.4 kB / 387.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003452/0.1504, allocations: 2.109 MB / 389.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.1522, allocations: 1.398 MB / 390.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.1539, allocations: 0.9148 MB / 391.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.1558, allocations: 1.125 MB / 392.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003977/0.1562, allocations: 232 kB / 392.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00067/0.1569, allocations: 323.8 kB / 393.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007743/0.1577, allocations: 0.6739 MB / 393.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001502/0.1592, allocations: 1.081 MB / 395 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004239/0.1634, allocations: 3.115 MB / 398.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.1635, allocations: 0 / 398.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1635, allocations: 0 / 398.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.556e-05/0.1635, allocations: 0 / 398.1 MB, free: 8.207 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.005174/0.1687, allocations: 2.261 MB / 400.4 MB, free: 5.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1688, allocations: 15.89 kB / 400.4 MB, free: 5.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006583/0.1695, allocations: 226.4 kB / 400.6 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.1717, allocations: 1.161 MB / 401.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.1718, allocations: 115.5 kB / 401.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002654/0.1721, allocations: 155.9 kB / 402 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003646/0.1758, allocations: 2.004 MB / 404.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.061e-05/0.1758, allocations: 7.906 kB / 404.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.176, allocations: 71.97 kB / 404.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-05/0.1761, allocations: 78.91 kB / 404.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002883/0.179, allocations: 1.643 MB / 405.8 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.1902, allocations: 6.893 MB / 412.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008141/0.1911, allocations: 444.5 kB / 413.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/0.1915, allocations: 266 kB / 413.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.1917, allocations: 117.5 kB / 413.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.1918, allocations: 43.41 kB / 413.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 3.466e-06/0.1918, allocations: 0 / 413.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.007329/0.1991, allocations: 3.284 MB / 416.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002855/0.202, allocations: 2.338 MB / 419.2 MB, free: 2.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.2047, allocations: 1.612 MB / 420.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.2048, allocations: 37.7 kB / 420.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008147/0.2056, allocations: 1.022 MB / 421.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.2059, allocations: 244.8 kB / 422.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004396/0.2063, allocations: 319.1 kB / 422.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.2065, allocations: 305.1 kB / 422.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008123/0.2073, allocations: 0.5114 MB / 423.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.2089, allocations: 1.465 MB / 424.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/0.2115, allocations: 2.141 MB / 426.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.006e-05/0.2115, allocations: 12 kB / 426.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003794/0.2153, allocations: 2.157 MB / 429 MB, free: 7.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.2154, allocations: 23.98 kB / 429 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.343e-05/0.2154, allocations: 32.08 kB / 429.1 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005729/0.216, allocations: 222.8 kB / 429.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.2172, allocations: 395.3 kB / 429.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.2192, allocations: 1.855 MB / 431.5 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.221, allocations: 139.5 kB / 431.7 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.2211, allocations: 100 kB / 431.8 MB, free: 4.613 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001066/0.2222, allocations: 0.5906 MB / 432.4 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003292/0.2225, allocations: 150.1 kB / 432.5 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.2246, allocations: 1.114 MB / 433.6 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.2246, allocations: 8 kB / 433.6 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2246, allocations: 0 / 433.6 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.2247, allocations: 7.984 kB / 433.6 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006036/0.2307, allocations: 3.382 MB / 437 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.2308, allocations: 8 kB / 437 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.2312, allocations: 111.8 kB / 437.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007611/0.232, allocations: 223 kB / 437.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/0.232, allocations: 19.98 kB / 437.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004583/0.2366, allocations: 4.05 MB / 441.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002432/0.2391, allocations: 2.165 MB / 443.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/0.2427, allocations: 1.743 MB / 445.3 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.2437, allocations: 307.1 kB / 445.6 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004712/0.2442, allocations: 23.92 kB / 445.7 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008458/0.2451, allocations: 48.02 kB / 445.7 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.2453, allocations: 67.73 kB / 445.8 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/0.2454, allocations: 23.98 kB / 445.8 MB, free: 5.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002093/0.2475, allocations: 1.066 MB / 446.9 MB, free: 4.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2475, allocations: 4 kB / 446.9 MB, free: 4.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002907/0.2504, allocations: 387.9 kB / 447.2 MB, free: 4.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000535/0.251, allocations: 167 kB / 447.4 MB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003311/0.2543, allocations: 1.617 MB / 449 MB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/0.2543, allocations: 4.062 kB / 449 MB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.2562, allocations: 0.8669 MB / 449.9 MB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003725/0.2599, allocations: 401.8 kB / 450.3 MB, free: 1.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2545/0.5144, allocations: 3.163 MB / 453.4 MB, free: 69.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.5159, allocations: 1.471 MB / 454.9 MB, free: 69.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00137/0.5173, allocations: 346.5 kB / 455.3 MB, free: 69.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/0.5176, allocations: 115.5 kB / 455.4 MB, free: 69.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.203e-06/0.5176, allocations: 0 / 455.4 MB, free: 69.09 MB / 382.1 MB Notification: Performance of Templates: time 0.04077/0.5584, allocations: 20.88 MB / 476.2 MB, free: 58.97 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1)