Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.is.1.|smrM.is.2.|smrM.is.3.|smrM.is.4.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.is.1.|smrM.is.2.|smrM.is.3.|smrM.is.4.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 109.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2082, allocations: 50.54 MB / 410 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.02446/0.2327, allocations: 25.01 MB / 435 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.245, allocations: 6.909 MB / 441.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002704/0.2477, allocations: 167.4 kB / 442.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003241/0.251, allocations: 1.653 MB / 443.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004758/0.2558, allocations: 2.198 MB / 445.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.2588, allocations: 1.491 MB / 447.4 MB, free: 12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007733/0.2665, allocations: 8.152 MB / 455.6 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007407/0.2739, allocations: 7.296 MB / 462.9 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004281/0.2782, allocations: 3.875 MB / 466.7 MB, free: 8.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005334/0.2836, allocations: 4.687 MB / 471.4 MB, free: 3.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001316/0.2849, allocations: 1.094 MB / 472.5 MB, free: 2.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.287, allocations: 1.32 MB / 473.8 MB, free: 1.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0019/0.289, allocations: 2.439 MB / 476.3 MB, free: 14.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004362/0.2933, allocations: 4.544 MB / 480.8 MB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.3058, allocations: 14.26 MB / 495.1 MB, free: 12.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3058, allocations: 3.938 kB / 495.1 MB, free: 12.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3058, allocations: 0 / 495.1 MB, free: 12.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000257/0.3061, allocations: 0 / 495.1 MB, free: 12.1 MB / 414.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.02226/0.3283, allocations: 8.895 MB / 0.4922 GB, free: 3.109 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3284, allocations: 8.031 kB / 0.4922 GB, free: 3.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008706/0.3371, allocations: 1.67 MB / 0.4938 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008507/0.3456, allocations: 4.861 MB / 0.4985 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000357/0.346, allocations: 0.5141 MB / 0.499 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009949/0.347, allocations: 0.6874 MB / 0.4997 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01526/0.3623, allocations: 9.45 MB / 0.5089 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.3624, allocations: 4 kB / 0.509 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006722/0.3631, allocations: 288 kB / 0.5092 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002763/0.3634, allocations: 330.2 kB / 0.5095 GB, free: 1.156 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.013/0.3764, allocations: 8.082 MB / 0.5174 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3662/0.7426, allocations: 28.59 MB / 0.5453 GB, free: 107 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/0.7541, allocations: 17.73 MB / 0.5627 GB, free: 93.06 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00554/0.7597, allocations: 3.669 MB / 0.5663 GB, free: 92.89 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/0.7712, allocations: 8.888 MB / 0.5749 GB, free: 88.24 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.7713, allocations: 67.42 kB / 0.575 GB, free: 88.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=259): time 3.867e-06/0.7713, allocations: 4 kB / 0.575 GB, free: 88.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.01926/0.7905, allocations: 11.69 MB / 0.5864 GB, free: 81.08 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.7906, allocations: 85.44 kB / 0.5865 GB, free: 80.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003586/0.7942, allocations: 3.411 MB / 0.5898 GB, free: 77.58 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001564/0.7944, allocations: 69.7 kB / 0.5899 GB, free: 77.51 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.7955, allocations: 3.065 MB / 0.5929 GB, free: 74.42 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004148/0.7959, allocations: 0.9077 MB / 0.5938 GB, free: 73.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007215/0.7967, allocations: 0.5935 MB / 0.5944 GB, free: 72.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.125e-05/0.7967, allocations: 301.1 kB / 0.5946 GB, free: 72.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.7986, allocations: 1.451 MB / 0.5961 GB, free: 71.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.8007, allocations: 2.485 MB / 0.5985 GB, free: 68.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004226/0.805, allocations: 4.192 MB / 0.6026 GB, free: 63.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.805, allocations: 15.98 kB / 0.6026 GB, free: 63.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006351/0.8114, allocations: 5.009 MB / 0.6075 GB, free: 58.45 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.8114, allocations: 23.94 kB / 0.6075 GB, free: 58.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.8114, allocations: 32 kB / 0.6075 GB, free: 58.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.8126, allocations: 0.5699 MB / 0.6081 GB, free: 57.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/0.8154, allocations: 0.7761 MB / 0.6089 GB, free: 57.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006571/0.822, allocations: 9.458 MB / 0.6181 GB, free: 47.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/0.8243, allocations: 163.8 kB / 0.6182 GB, free: 46.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/0.8245, allocations: 152 kB / 0.6184 GB, free: 46.71 MB / 462.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 (406): * Single equations (assignments): 400 * 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,8,100.0%), (1,1,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002569/0.827, allocations: 2.074 MB / 0.6204 GB, free: 44.63 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004263/0.8275, allocations: 371.5 kB / 0.6208 GB, free: 44.26 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006378/0.8339, allocations: 4.546 MB / 0.6252 GB, free: 39.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.8339, allocations: 15.95 kB / 0.6252 GB, free: 39.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.8339, allocations: 0 / 0.6252 GB, free: 39.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.8351, allocations: 0.7502 MB / 0.626 GB, free: 38.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00047/0.8356, allocations: 56 kB / 0.626 GB, free: 38.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/0.8372, allocations: 135.8 kB / 0.6261 GB, free: 38.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003249/0.8375, allocations: 237.7 kB / 0.6264 GB, free: 38.39 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007442/0.845, allocations: 4.326 MB / 0.6306 GB, free: 34.06 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005789/0.8508, allocations: 5.013 MB / 0.6355 GB, free: 28.96 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001638/0.8524, allocations: 1.468 MB / 0.6369 GB, free: 27.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002577/0.855, allocations: 2.319 MB / 0.6392 GB, free: 25.18 MB / 462.1 MB Notification: Performance of Backend: time 2.1e-07/0.855, allocations: 0 / 0.6392 GB, free: 25.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004798/0.8598, allocations: 3.316 MB / 0.6424 GB, free: 21.79 MB / 462.1 MB Notification: Performance of SimCode: time 0.01499/0.8748, allocations: 12.62 MB / 0.6547 GB, free: 9.148 MB / 462.1 MB Notification: Performance of Templates: time 0.09615/0.971, allocations: 61.03 MB / 0.7143 GB, free: 12.69 MB / 0.5138 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1)