Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001252/0.001252, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001526/0.001526, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.4 MB / 222.1 MB, free: 5.742 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.000484/0.0004841, allocations: 18.8 kB / 278.9 MB, free: 12.94 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2839, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.02313/0.3071, allocations: 20.24 MB / 346.7 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0181/0.3252, allocations: 6.882 MB / 353.6 MB, free: 8.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005995/0.3313, allocations: 139.4 kB / 353.7 MB, free: 8.207 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005565/0.3369, allocations: 1.267 MB / 355 MB, free: 6.934 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.3475, allocations: 2.064 MB / 357 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004623/0.3521, allocations: 0.9982 MB / 358 MB, free: 3.863 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01377/0.3659, allocations: 5.862 MB / 363.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008403/0.3744, allocations: 5.097 MB / 369 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005567/0.38, allocations: 2.654 MB / 371.7 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006651/0.3867, allocations: 3.225 MB / 374.9 MB, free: 2.926 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001672/0.3884, allocations: 460 kB / 375.3 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.3914, allocations: 0.6208 MB / 375.9 MB, free: 1.855 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002055/0.3935, allocations: 1.631 MB / 377.6 MB, free: 224 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003588/0.3971, allocations: 1.599 MB / 379.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01539/0.4125, allocations: 11.97 MB / 391.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4125, allocations: 0 / 391.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4126, allocations: 0 / 391.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004983/0.4131, allocations: 0 / 391.2 MB, free: 2.602 MB / 318.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.4357, allocations: 7.79 MB / 398.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.4358, allocations: 8.031 kB / 399 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.4462, allocations: 1.751 MB / 400.7 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/0.4575, allocations: 4.552 MB / 405.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007864/0.4583, allocations: 0.5453 MB / 405.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003372/0.4617, allocations: 0.703 MB / 406.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02602/0.4877, allocations: 9.668 MB / 416.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002168/0.488, allocations: 11.84 kB / 416.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001205/0.4892, allocations: 304 kB / 416.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003433/0.4895, allocations: 350.6 kB / 416.8 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01998/0.5095, allocations: 8.252 MB / 425.1 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06099/0.5705, allocations: 30.49 MB / 455.6 MB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3412/0.9118, allocations: 16.04 MB / 471.6 MB, free: 86.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/0.9236, allocations: 6.809 MB / 478.4 MB, free: 83.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.9237, allocations: 68.8 kB / 478.5 MB, free: 83.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=303): time 4.509e-06/0.9237, allocations: 6.406 kB / 478.5 MB, free: 83.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=313): time 0.02145/0.9452, allocations: 12.56 MB / 491.1 MB, free: 77.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.9452, allocations: 87.11 kB / 491.1 MB, free: 77.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004066/0.9493, allocations: 3.46 MB / 494.6 MB, free: 75.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002287/0.9496, allocations: 77.52 kB / 494.7 MB, free: 75.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.9509, allocations: 3.161 MB / 497.8 MB, free: 72.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005957/0.9515, allocations: 1.067 MB / 498.9 MB, free: 71.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.9517, allocations: 76 kB / 499 MB, free: 71.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.9519, allocations: 467.9 kB / 499.4 MB, free: 71.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/0.9539, allocations: 1.554 MB / 0.4892 GB, free: 69.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/0.9563, allocations: 2.66 MB / 0.4918 GB, free: 66.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.9589, allocations: 2.059 MB / 0.4939 GB, free: 64.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/0.9589, allocations: 8 kB / 0.4939 GB, free: 64.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=493) (initialization): time 0.006849/0.9658, allocations: 5.201 MB / 0.4989 GB, free: 59.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.9658, allocations: 23.95 kB / 0.499 GB, free: 58.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.712e-05/0.9659, allocations: 36 kB / 0.499 GB, free: 58.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000853/0.9667, allocations: 433.8 kB / 0.4994 GB, free: 58.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002943/0.9697, allocations: 0.906 MB / 0.5003 GB, free: 57.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005079/0.9748, allocations: 7.725 MB / 0.5078 GB, free: 49.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003198/0.978, allocations: 187.8 kB / 0.508 GB, free: 49.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/0.9783, allocations: 161.3 kB / 0.5082 GB, free: 49.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 156 * 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 (465): * Single equations (assignments): 459 * 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%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00362/0.9819, allocations: 2.152 MB / 0.5103 GB, free: 46.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006764/0.9826, allocations: 403.1 kB / 0.5107 GB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0068/0.9894, allocations: 4.742 MB / 0.5153 GB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.9895, allocations: 28 kB / 0.5153 GB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.9895, allocations: 12 kB / 0.5153 GB, free: 41.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.538e-05/0.9895, allocations: 15.94 kB / 0.5153 GB, free: 41.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/1.006, allocations: 11.25 MB / 0.5263 GB, free: 30.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/1.006, allocations: 8 kB / 0.5263 GB, free: 30.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/1.008, allocations: 496 kB / 0.5268 GB, free: 29.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/1.009, allocations: 0.8582 MB / 0.5276 GB, free: 28.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001938/1.01, allocations: 91.97 kB / 0.5277 GB, free: 28.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/1.022, allocations: 16.4 MB / 0.5438 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.023, allocations: 11.94 kB / 0.5438 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009051/1.032, allocations: 7.324 MB / 0.5509 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002168/1.034, allocations: 0.8123 MB / 0.5517 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005867/1.034, allocations: 72 kB / 0.5518 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/1.036, allocations: 159.8 kB / 0.5519 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004669/1.037, allocations: 237.9 kB / 0.5522 GB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/1.037, allocations: 95.97 kB / 0.5522 GB, free: 2.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003166/1.04, allocations: 2.331 MB / 0.5545 GB, free: 15.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.04, allocations: 0 / 0.5545 GB, free: 15.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00494/1.045, allocations: 1.225 MB / 0.5557 GB, free: 14.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (243): * Single equations (assignments): 236 * 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 {(4,93.8%) 33,(1,100.0%) 5,(1,100.0%) 1,(2,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005465/1.045, allocations: 224.9 kB / 0.5559 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007352/1.053, allocations: 4.558 MB / 0.5604 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.053, allocations: 0 / 0.5604 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004897/1.058, allocations: 3.106 MB / 0.5634 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004978/1.063, allocations: 1.029 MB / 0.5644 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02734/1.09, allocations: 15.31 MB / 0.5794 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00551/1.096, allocations: 4.484 MB / 0.5838 GB, free: 1.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00371/1.099, allocations: 0.91 MB / 0.5846 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008313/1.1, allocations: 279.4 kB / 0.5849 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of SimCode: time 1.673e-06/1.1, allocations: 0 / 0.5849 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of Templates: time 0.2991/1.399, allocations: 55.2 MB / 0.6388 GB, free: 136.6 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1) Environment - environmentSimulation: