Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005402/0.005402, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001194/0.001194, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.397/1.397, allocations: 205.1 MB / 222.5 MB, free: 4.387 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.001127/0.001128, allocations: 50.14 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08547/0.08661, allocations: 46.63 MB / 373.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.02503/0.1117, allocations: 23.7 MB / 396.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.1263, allocations: 6.55 MB / 403.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004691/0.1311, allocations: 143.4 kB / 403.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005313/0.1365, allocations: 1.622 MB / 405.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007885/0.1444, allocations: 2.201 MB / 407.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004527/0.1489, allocations: 1.442 MB / 408.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01048/0.1594, allocations: 8.095 MB / 417 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009765/0.1692, allocations: 7.142 MB / 424.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007301/0.1766, allocations: 3.836 MB / 427.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008481/0.1851, allocations: 4.425 MB / 432.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00319/0.1884, allocations: 1.094 MB / 433.4 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004394/0.1928, allocations: 1.301 MB / 434.7 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003324/0.1961, allocations: 2.435 MB / 437.2 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009752/0.2059, allocations: 4.524 MB / 441.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2728/0.4788, allocations: 14.17 MB / 455.9 MB, free: 28.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.4788, allocations: 1.203 kB / 455.9 MB, free: 28.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4788, allocations: 0.5312 kB / 455.9 MB, free: 28.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004281/0.4793, allocations: 0 / 455.9 MB, free: 28.47 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.02729/0.5066, allocations: 8.835 MB / 464.7 MB, free: 25.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.5066, allocations: 16.17 kB / 464.7 MB, free: 25.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/0.5171, allocations: 1.659 MB / 466.4 MB, free: 25.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01236/0.5295, allocations: 4.558 MB / 471 MB, free: 24.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005639/0.5301, allocations: 0.511 MB / 471.5 MB, free: 24.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002842/0.5329, allocations: 0.6808 MB / 472.1 MB, free: 24.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02312/0.5561, allocations: 9.445 MB / 481.6 MB, free: 22.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001886/0.5563, allocations: 3.25 kB / 481.6 MB, free: 22.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001167/0.5575, allocations: 288.3 kB / 481.9 MB, free: 22.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002726/0.5578, allocations: 339.2 kB / 482.2 MB, free: 22.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01635/0.5741, allocations: 8.048 MB / 490.3 MB, free: 18.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05118/0.6253, allocations: 28.41 MB / 0.5065 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01559/0.641, allocations: 16.6 MB / 0.5227 GB, free: 4.141 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005121/0.6461, allocations: 2.917 MB / 0.5256 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01489/0.6611, allocations: 7.69 MB / 0.5331 GB, free: 9.492 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.6612, allocations: 56.61 kB / 0.5331 GB, free: 9.426 MB / 430.1 MB Notification: Performance of pre-optimization done (n=259): time 5.01e-06/0.6612, allocations: 0 / 0.5331 GB, free: 9.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=265): time 0.025/0.6862, allocations: 10.99 MB / 0.5439 GB, free: 14.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.6863, allocations: 77.5 kB / 0.5439 GB, free: 14.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005868/0.6922, allocations: 3.381 MB / 0.5472 GB, free: 10.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003726/0.6926, allocations: 73.7 kB / 0.5473 GB, free: 10.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002331/0.6949, allocations: 3.032 MB / 0.5503 GB, free: 7.562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009953/0.6959, allocations: 0.9161 MB / 0.5512 GB, free: 6.652 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009395/0.6969, allocations: 0.5935 MB / 0.5517 GB, free: 6.051 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.697, allocations: 305.1 kB / 0.552 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.6992, allocations: 1.389 MB / 0.5534 GB, free: 4.359 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002906/0.7022, allocations: 2.432 MB / 0.5558 GB, free: 1.488 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005493/0.7077, allocations: 4.075 MB / 0.5597 GB, free: 13.06 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.509e-05/0.7077, allocations: 14.41 kB / 0.5598 GB, free: 13.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007719/0.7154, allocations: 4.699 MB / 0.5643 GB, free: 8.473 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.7155, allocations: 20 kB / 0.5644 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.596e-05/0.7156, allocations: 32 kB / 0.5644 GB, free: 8.422 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009653/0.7165, allocations: 408.8 kB / 0.5648 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/0.7195, allocations: 0.785 MB / 0.5656 GB, free: 7.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007061/0.7265, allocations: 7.969 MB / 0.5733 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003227/0.7298, allocations: 151.8 kB / 0.5735 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004026/0.7302, allocations: 144 kB / 0.5736 GB, free: 14.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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 (411): * Single equations (assignments): 405 * 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,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004151/0.7344, allocations: 2.083 MB / 0.5756 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009075/0.7353, allocations: 367.5 kB / 0.576 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007365/0.7427, allocations: 4.211 MB / 0.5801 GB, free: 7.812 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/0.7427, allocations: 24 kB / 0.5801 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/0.7428, allocations: 15.94 kB / 0.5802 GB, free: 7.773 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.973e-05/0.7428, allocations: 19.89 kB / 0.5802 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/0.7608, allocations: 9.87 MB / 0.5898 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.7609, allocations: 7.938 kB / 0.5898 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/0.7627, allocations: 412.2 kB / 0.5902 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002187/0.7649, allocations: 0.8486 MB / 0.591 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002628/0.7652, allocations: 67.97 kB / 0.5911 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01736/0.7825, allocations: 17.5 MB / 0.6082 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.7826, allocations: 11.5 kB / 0.6082 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/0.7935, allocations: 6.02 MB / 0.6141 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/0.7957, allocations: 0.7464 MB / 0.6148 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007107/0.7964, allocations: 60 kB / 0.6149 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/0.7982, allocations: 136 kB / 0.615 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004735/0.7987, allocations: 205.4 kB / 0.6152 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/0.7988, allocations: 75.98 kB / 0.6153 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003471/0.8023, allocations: 2.29 MB / 0.6175 GB, free: 392 kB / 0.4981 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8023, allocations: 2.625 kB / 0.6175 GB, free: 392 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00456/0.8069, allocations: 1.15 MB / 0.6186 GB, free: 15.23 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.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 (198): * Single equations (assignments): 191 * 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,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007846/0.8077, allocations: 213.1 kB / 0.6188 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006631/0.8143, allocations: 4.135 MB / 0.6229 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.8144, allocations: 4 kB / 0.6229 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004501/0.8189, allocations: 2.846 MB / 0.6257 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006151/0.8251, allocations: 1.004 MB / 0.6266 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2471/1.072, allocations: 11.97 MB / 0.6383 GB, free: 188.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006201/1.078, allocations: 4.23 MB / 0.6425 GB, free: 187.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003125/1.082, allocations: 0.8373 MB / 0.6433 GB, free: 187.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007503/1.082, allocations: 253.9 kB / 0.6435 GB, free: 187.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.653e-06/1.082, allocations: 3.375 kB / 0.6435 GB, free: 187.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.08069/1.163, allocations: 53.34 MB / 0.6956 GB, free: 148.2 MB / 0.5137 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1)