Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 89.98 kB / 16.31 MB, free: 6.008 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.001141/0.001141, allocations: 187 kB / 17.21 MB, free: 5.902 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.443/1.443, allocations: 205.4 MB / 223.4 MB, free: 5.547 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.0004426/0.0004426, allocations: 12 kB / 280.2 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2476, allocations: 47.58 MB / 327.7 MB, free: 1.637 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.02373/0.2713, allocations: 22.28 MB / 350 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.2862, allocations: 6.633 MB / 356.6 MB, free: 6.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005637/0.2919, allocations: 139.4 kB / 356.8 MB, free: 6.531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005409/0.2974, allocations: 1.231 MB / 358 MB, free: 5.293 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008927/0.3063, allocations: 1.868 MB / 359.9 MB, free: 3.414 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004877/0.3112, allocations: 1.002 MB / 360.9 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01344/0.3247, allocations: 8.421 MB / 369.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008936/0.3337, allocations: 5.097 MB / 374.4 MB, free: 4.793 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006651/0.3404, allocations: 2.724 MB / 377.1 MB, free: 2.059 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008012/0.3484, allocations: 3.54 MB / 380.7 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002503/0.351, allocations: 464 kB / 381.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003856/0.3548, allocations: 0.6521 MB / 381.8 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002804/0.3577, allocations: 1.693 MB / 383.5 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004322/0.362, allocations: 1.599 MB / 385.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0161/0.3781, allocations: 12.06 MB / 397.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3782, allocations: 0 / 397.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3782, allocations: 0 / 397.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004345/0.3786, allocations: 4 kB / 397.1 MB, free: 13.99 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02265/0.4013, allocations: 7.821 MB / 405 MB, free: 6.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.4013, allocations: 8.031 kB / 405 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.4123, allocations: 1.747 MB / 406.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01255/0.4249, allocations: 4.502 MB / 411.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000866/0.4258, allocations: 0.5455 MB / 411.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003763/0.4296, allocations: 0.7068 MB / 412.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02827/0.4579, allocations: 9.734 MB / 422.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001982/0.4581, allocations: 4 kB / 422.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001271/0.4594, allocations: 296 kB / 422.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003765/0.4598, allocations: 354.6 kB / 422.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02124/0.481, allocations: 8.264 MB / 431.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2728/0.7539, allocations: 30.62 MB / 461.7 MB, free: 93.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01449/0.7684, allocations: 16.06 MB / 477.8 MB, free: 81.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005269/0.7738, allocations: 3.067 MB / 480.8 MB, free: 81.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01448/0.7883, allocations: 8.116 MB / 489 MB, free: 77.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.7884, allocations: 64.03 kB / 489 MB, free: 77.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=281): time 5.059e-06/0.7884, allocations: 0 / 489 MB, free: 77.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=289): time 0.02354/0.8119, allocations: 11.79 MB / 0.4891 GB, free: 70.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.812, allocations: 79.72 kB / 0.4892 GB, free: 70.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005548/0.8175, allocations: 3.614 MB / 0.4927 GB, free: 67.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000546/0.8181, allocations: 73.7 kB / 0.4928 GB, free: 67.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001769/0.8199, allocations: 3.185 MB / 0.4959 GB, free: 64.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001024/0.8209, allocations: 0.9902 MB / 0.4968 GB, free: 63.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.8211, allocations: 77.42 kB / 0.4969 GB, free: 63.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.8213, allocations: 457.9 kB / 0.4973 GB, free: 63.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/0.8235, allocations: 1.479 MB / 0.4988 GB, free: 61.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/0.8259, allocations: 2.631 MB / 0.5014 GB, free: 58.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002538/0.8285, allocations: 1.963 MB / 0.5033 GB, free: 56.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/0.8285, allocations: 8 kB / 0.5033 GB, free: 56.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.007125/0.8356, allocations: 5.025 MB / 0.5082 GB, free: 51.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.8357, allocations: 25.38 kB / 0.5082 GB, free: 51.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-05/0.8358, allocations: 32 kB / 0.5082 GB, free: 51.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008469/0.8366, allocations: 408.1 kB / 0.5086 GB, free: 50.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002975/0.8396, allocations: 0.8736 MB / 0.5095 GB, free: 49.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004975/0.8446, allocations: 7.347 MB / 0.5167 GB, free: 42.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003472/0.8481, allocations: 175.9 kB / 0.5168 GB, free: 41.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005896/0.8487, allocations: 172 kB / 0.517 GB, free: 41.76 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (451): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004106/0.8528, allocations: 2.132 MB / 0.5191 GB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009051/0.8537, allocations: 399.2 kB / 0.5195 GB, free: 39.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006789/0.8605, allocations: 4.474 MB / 0.5238 GB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.8606, allocations: 28 kB / 0.5239 GB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-05/0.8606, allocations: 15.98 kB / 0.5239 GB, free: 34.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/0.8607, allocations: 15.94 kB / 0.5239 GB, free: 34.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01959/0.8803, allocations: 10.49 MB / 0.5341 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.8803, allocations: 4 kB / 0.5341 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/0.8822, allocations: 451.9 kB / 0.5346 GB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001957/0.8842, allocations: 0.8803 MB / 0.5354 GB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000332/0.8846, allocations: 75.97 kB / 0.5355 GB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/0.8972, allocations: 16.19 MB / 0.5513 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.8972, allocations: 7.938 kB / 0.5513 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009761/0.907, allocations: 6.44 MB / 0.5576 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002547/0.9096, allocations: 0.8046 MB / 0.5584 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001092/0.9107, allocations: 67.94 kB / 0.5585 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/0.9128, allocations: 155.9 kB / 0.5586 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005501/0.9134, allocations: 213.8 kB / 0.5588 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/0.9136, allocations: 91.91 kB / 0.5589 GB, free: 13.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004484/0.9181, allocations: 2.438 MB / 0.5613 GB, free: 10.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.9181, allocations: 0 / 0.5613 GB, free: 10.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005481/0.9236, allocations: 1.215 MB / 0.5625 GB, free: 9.766 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 13,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000612/0.9242, allocations: 216.8 kB / 0.5627 GB, free: 9.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007247/0.9315, allocations: 4.358 MB / 0.5669 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.9315, allocations: 4 kB / 0.5669 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004614/0.9361, allocations: 2.997 MB / 0.5699 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005279/0.9414, allocations: 1.067 MB / 0.5709 GB, free: 0.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0264/0.9679, allocations: 15.13 MB / 0.5857 GB, free: 1.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005734/0.9736, allocations: 4.343 MB / 0.5899 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00382/0.9775, allocations: 0.8903 MB / 0.5908 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/0.9785, allocations: 279.4 kB / 0.591 GB, free: 12.13 MB / 430.1 MB Notification: Performance of SimCode: time 1.974e-06/0.9785, allocations: 0 / 0.591 GB, free: 12.13 MB / 430.1 MB Notification: Performance of Templates: time 0.3103/1.289, allocations: 55.7 MB / 0.6454 GB, free: 144.7 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1)