Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 107.5 kB / 18.4 MB, free: 4.676 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.001122/0.001123, allocations: 187 kB / 19.34 MB, free: 3.754 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.32/1.32, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.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.001311/0.001312, allocations: 55.92 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07732/0.07864, allocations: 46.61 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.1611/0.2397, allocations: 11.6 MB / 387.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007147/0.2469, allocations: 3.957 MB / 391.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.248, allocations: 63.81 kB / 391.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.2497, allocations: 0.9232 MB / 392.4 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.2518, allocations: 0.9932 MB / 393.4 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000935/0.2527, allocations: 0.5206 MB / 393.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002751/0.2555, allocations: 3.306 MB / 397.2 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002973/0.2584, allocations: 2.985 MB / 400.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.2605, allocations: 1.532 MB / 401.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.2629, allocations: 1.971 MB / 403.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005261/0.2634, allocations: 421.5 kB / 404.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009314/0.2644, allocations: 0.5252 MB / 404.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.2656, allocations: 1.225 MB / 405.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001856/0.2674, allocations: 1.877 MB / 407.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005222/0.2727, allocations: 5.52 MB / 413.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2727, allocations: 0 / 413.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2727, allocations: 1.156 kB / 413.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001122/0.2728, allocations: 0 / 413.3 MB, free: 8.262 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: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.007339/0.2802, allocations: 3.813 MB / 417.1 MB, free: 5.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2802, allocations: 12.81 kB / 417.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009837/0.2812, allocations: 390.7 kB / 417.5 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.2842, allocations: 1.946 MB / 419.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.2844, allocations: 210.2 kB / 419.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004093/0.2848, allocations: 292.4 kB / 419.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005873/0.2907, allocations: 3.697 MB / 423.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.521e-05/0.2908, allocations: 7.906 kB / 423.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002662/0.2911, allocations: 116 kB / 423.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/0.2912, allocations: 141.4 kB / 423.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005118/0.2963, allocations: 3.106 MB / 427 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01651/0.3129, allocations: 11.51 MB / 438.5 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.3153, allocations: 1.909 MB / 440.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001759/0.3171, allocations: 1.069 MB / 441.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.3174, allocations: 211.1 kB / 441.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.3174, allocations: 47.56 kB / 441.7 MB, free: 13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=125): time 4.559e-06/0.3174, allocations: 3.984 kB / 441.7 MB, free: 13 MB / 366.1 MB Notification: Performance of matching and sorting (n=140): time 0.01285/0.3303, allocations: 6.523 MB / 448.2 MB, free: 6.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.3304, allocations: 68.72 kB / 448.3 MB, free: 6.262 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/0.3332, allocations: 1.986 MB / 450.3 MB, free: 4.234 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.3333, allocations: 49.7 kB / 450.3 MB, free: 4.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009387/0.3343, allocations: 1.416 MB / 451.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003695/0.3346, allocations: 489 kB / 452.2 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000506/0.3352, allocations: 327.2 kB / 452.5 MB, free: 1.934 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.3353, allocations: 301.1 kB / 452.8 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.3366, allocations: 0.8276 MB / 453.7 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.3382, allocations: 1.375 MB / 455 MB, free: 15.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003061/0.3413, allocations: 2.361 MB / 457.4 MB, free: 12.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.3413, allocations: 7.938 kB / 457.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.004723/0.346, allocations: 2.85 MB / 460.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.3461, allocations: 16.03 kB / 460.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.743e-05/0.3461, allocations: 20 kB / 460.3 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009107/0.347, allocations: 383.1 kB / 460.7 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.3486, allocations: 435.3 kB / 461.1 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006253/0.3549, allocations: 6.711 MB / 467.8 MB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.3566, allocations: 127.8 kB / 467.9 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/0.3568, allocations: 79.98 kB / 468 MB, free: 1.496 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (210): * Single equations (assignments): 206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(2,9,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001933/0.3588, allocations: 0.9116 MB / 468.9 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005931/0.3594, allocations: 213.3 kB / 469.1 MB, free: 372 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004611/0.364, allocations: 2.421 MB / 471.5 MB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.364, allocations: 3.984 kB / 471.5 MB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.364, allocations: 3.984 kB / 471.6 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009919/0.365, allocations: 466.3 kB / 472 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005408/0.3656, allocations: 35.98 kB / 472 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.3669, allocations: 95.88 kB / 472.1 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/0.3671, allocations: 97.16 kB / 472.2 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004748/0.3718, allocations: 2.366 MB / 474.6 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004586/0.3764, allocations: 3.124 MB / 477.7 MB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001219/0.3777, allocations: 0.8651 MB / 478.6 MB, free: 6.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002505/0.3802, allocations: 1.365 MB / 480 MB, free: 5.414 MB / 398.1 MB Notification: Performance of Backend: time 4.61e-07/0.3802, allocations: 0 / 480 MB, free: 5.414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004037/0.3842, allocations: 1.913 MB / 481.9 MB, free: 3.438 MB / 398.1 MB Notification: Performance of SimCode: time 0.01012/0.3944, allocations: 5.848 MB / 487.7 MB, free: 13.54 MB / 414.1 MB Notification: Performance of Templates: time 0.05329/0.4477, allocations: 32.56 MB / 0.5081 GB, free: 12.91 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe 2>&1)