Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001065/0.001065, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008191/0.008191, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.441/1.441, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.0004542/0.0004542, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2882, allocations: 47.59 MB / 327 MB, free: 1.551 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.02682/0.3151, allocations: 23.94 MB / 351 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02142/0.3366, allocations: 6.928 MB / 357.9 MB, free: 4.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007529/0.3442, allocations: 139.4 kB / 358 MB, free: 4.363 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006844/0.3511, allocations: 1.465 MB / 359.5 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.3628, allocations: 2.032 MB / 361.5 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005902/0.3687, allocations: 1.373 MB / 362.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0154/0.3841, allocations: 8.971 MB / 371.9 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01076/0.3949, allocations: 5.979 MB / 377.9 MB, free: 404 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00702/0.402, allocations: 2.777 MB / 380.6 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008928/0.4109, allocations: 3.687 MB / 384.3 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002517/0.4135, allocations: 468 kB / 384.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/0.4178, allocations: 0.6715 MB / 385.5 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002105/0.4199, allocations: 1.724 MB / 387.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008099/0.4281, allocations: 3.853 MB / 391 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01832/0.4464, allocations: 13.75 MB / 404.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4465, allocations: 4 kB / 404.8 MB, free: 5.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4465, allocations: 0 / 404.8 MB, free: 5.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005254/0.447, allocations: 0 / 404.8 MB, free: 5.367 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.02339/0.4704, allocations: 7.739 MB / 412.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.4705, allocations: 8.031 kB / 412.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.4814, allocations: 1.752 MB / 414.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/0.4927, allocations: 4.61 MB / 418.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007144/0.4935, allocations: 0.5422 MB / 419.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002979/0.4965, allocations: 0.7146 MB / 420.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02433/0.5208, allocations: 9.789 MB / 429.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001782/0.521, allocations: 11.84 kB / 430 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008373/0.5219, allocations: 296 kB / 430.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003521/0.5222, allocations: 358.6 kB / 430.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0216/0.5438, allocations: 8.314 MB / 438.9 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4497/0.9936, allocations: 30.64 MB / 469.5 MB, free: 87.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01341/1.007, allocations: 16.09 MB / 485.6 MB, free: 74.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005333/1.012, allocations: 3.076 MB / 488.7 MB, free: 73.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01428/1.027, allocations: 8.114 MB / 496.8 MB, free: 67.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.212e-05/1.027, allocations: 63.22 kB / 496.9 MB, free: 67.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=281): time 6.212e-06/1.027, allocations: 0 / 496.9 MB, free: 67.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=289): time 0.02333/1.05, allocations: 11.71 MB / 0.4967 GB, free: 60.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/1.05, allocations: 79.38 kB / 0.4968 GB, free: 60.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005859/1.056, allocations: 3.649 MB / 0.5003 GB, free: 57.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005286/1.057, allocations: 74.25 kB / 0.5004 GB, free: 56.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001711/1.059, allocations: 3.189 MB / 0.5035 GB, free: 53.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009732/1.059, allocations: 0.9931 MB / 0.5045 GB, free: 52.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/1.06, allocations: 289.6 kB / 0.5048 GB, free: 52.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.219e-05/1.06, allocations: 305.1 kB / 0.505 GB, free: 52.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/1.062, allocations: 1.495 MB / 0.5065 GB, free: 50.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00257/1.065, allocations: 2.642 MB / 0.5091 GB, free: 47.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004925/1.07, allocations: 4.416 MB / 0.5134 GB, free: 42.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.48e-05/1.07, allocations: 12 kB / 0.5134 GB, free: 42.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.007485/1.077, allocations: 5.056 MB / 0.5183 GB, free: 37.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/1.077, allocations: 20 kB / 0.5184 GB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.63e-05/1.077, allocations: 40.06 kB / 0.5184 GB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009291/1.078, allocations: 397.5 kB / 0.5188 GB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/1.081, allocations: 0.8697 MB / 0.5196 GB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004948/1.086, allocations: 7.355 MB / 0.5268 GB, free: 28.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003463/1.09, allocations: 180 kB / 0.527 GB, free: 28.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003664/1.09, allocations: 171.9 kB / 0.5272 GB, free: 27.88 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 (not torn): 2 * Torn equation systems: 4 * 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): 4 systems {(1,1,100.0%), (1,5,100.0%), (1,1,100.0%), (3,14,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004097/1.094, allocations: 2.132 MB / 0.5292 GB, free: 25.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009407/1.095, allocations: 399.1 kB / 0.5296 GB, free: 25.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007051/1.102, allocations: 4.486 MB / 0.534 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/1.102, allocations: 31.94 kB / 0.534 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/1.102, allocations: 12 kB / 0.534 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.729e-05/1.102, allocations: 23.94 kB / 0.5341 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/1.118, allocations: 10.5 MB / 0.5443 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/1.118, allocations: 4 kB / 0.5443 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/1.12, allocations: 455.9 kB / 0.5447 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001986/1.122, allocations: 0.8644 MB / 0.5456 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001974/1.122, allocations: 79.95 kB / 0.5457 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01574/1.138, allocations: 16.22 MB / 0.5615 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.138, allocations: 7.938 kB / 0.5615 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/1.15, allocations: 6.478 MB / 0.5678 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002606/1.153, allocations: 0.8007 MB / 0.5686 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009529/1.154, allocations: 64 kB / 0.5687 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/1.156, allocations: 155.9 kB / 0.5688 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006546/1.157, allocations: 213.8 kB / 0.569 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/1.157, allocations: 87.97 kB / 0.5691 GB, free: 15.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.005103/1.162, allocations: 2.465 MB / 0.5715 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.2e-07/1.162, allocations: 0 / 0.5715 GB, free: 12.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006367/1.169, allocations: 1.219 MB / 0.5727 GB, free: 11.77 MB / 414.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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,5,100.0%), (4,33,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008259/1.169, allocations: 211.4 kB / 0.5729 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008014/1.177, allocations: 4.384 MB / 0.5772 GB, free: 7.066 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/1.178, allocations: 0 / 0.5772 GB, free: 7.066 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005494/1.183, allocations: 3.015 MB / 0.5801 GB, free: 3.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007898/1.191, allocations: 1.056 MB / 0.5812 GB, free: 2.898 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02856/1.22, allocations: 15.86 MB / 0.5967 GB, free: 2.922 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00638/1.226, allocations: 4.343 MB / 0.6009 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003963/1.23, allocations: 0.8981 MB / 0.6018 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/1.231, allocations: 271.4 kB / 0.602 GB, free: 13.37 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/1.231, allocations: 0 / 0.602 GB, free: 13.37 MB / 446.1 MB Notification: Performance of Templates: time 0.3172/1.548, allocations: 57.08 MB / 0.6578 GB, free: 121.4 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1)