Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 106.7 kB / 18.4 MB, free: 4.68 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.001138/0.001138, allocations: 190 kB / 19.34 MB, free: 3.754 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.252/1.252, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.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.001225/0.001225, allocations: 52.34 kB / 329.2 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06975/0.07098, allocations: 46.61 MB / 375.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD): time 0.1606/0.2316, allocations: 13.67 MB / 389.5 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007346/0.239, allocations: 4.521 MB / 394 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.2404, allocations: 74.25 kB / 394.1 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.2425, allocations: 1.035 MB / 395.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002937/0.2454, allocations: 1.385 MB / 396.5 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.2471, allocations: 0.8997 MB / 397.4 MB, free: 352 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005439/0.2526, allocations: 4.752 MB / 402.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003894/0.2565, allocations: 3.651 MB / 405.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00313/0.2596, allocations: 2.2 MB / 408 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003351/0.263, allocations: 2.463 MB / 410.5 MB, free: 10 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008413/0.2638, allocations: 0.5891 MB / 411.1 MB, free: 10 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.2655, allocations: 0.7901 MB / 411.9 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.2666, allocations: 1.34 MB / 413.2 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002506/0.2691, allocations: 2.464 MB / 415.7 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006962/0.2761, allocations: 7.773 MB / 423.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2761, allocations: 0 / 423.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2761, allocations: 0 / 423.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001163/0.2763, allocations: 0 / 423.4 MB, free: 15.95 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01096/0.2872, allocations: 5.037 MB / 428.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2873, allocations: 8.031 kB / 428.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004199/0.2915, allocations: 0.8703 MB / 429.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004578/0.2961, allocations: 2.651 MB / 432 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.2963, allocations: 271.6 kB / 432.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004897/0.2968, allocations: 367.8 kB / 432.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007604/0.3044, allocations: 5.036 MB / 437.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.421e-05/0.3045, allocations: 3.906 kB / 437.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003327/0.3048, allocations: 148 kB / 437.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001376/0.305, allocations: 163.2 kB / 438 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006686/0.3116, allocations: 4.373 MB / 442.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02043/0.3321, allocations: 15.71 MB / 458.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00679/0.3389, allocations: 7.784 MB / 465.8 MB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002326/0.3412, allocations: 1.71 MB / 467.6 MB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007159/0.3484, allocations: 4.647 MB / 472.2 MB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.3485, allocations: 51.88 kB / 472.3 MB, free: 13.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=161): time 2.925e-06/0.3485, allocations: 3.938 kB / 472.3 MB, free: 13.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=164): time 0.0152/0.3637, allocations: 8.127 MB / 480.4 MB, free: 5.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.3637, allocations: 68.72 kB / 480.5 MB, free: 5.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002615/0.3663, allocations: 2.155 MB / 482.6 MB, free: 2.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.664e-05/0.3664, allocations: 53.7 kB / 482.7 MB, free: 2.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009989/0.3674, allocations: 1.616 MB / 484.3 MB, free: 1.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003867/0.3678, allocations: 0.5507 MB / 484.8 MB, free: 0.6914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005203/0.3684, allocations: 359.2 kB / 485.2 MB, free: 340 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.3685, allocations: 309 kB / 485.5 MB, free: 28 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.3699, allocations: 0.9447 MB / 486.4 MB, free: 15.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.3716, allocations: 1.453 MB / 487.9 MB, free: 13.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003252/0.3749, allocations: 2.507 MB / 490.4 MB, free: 10.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.3749, allocations: 4 kB / 490.4 MB, free: 10.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=245) (initialization): time 0.005039/0.38, allocations: 3.347 MB / 493.7 MB, free: 7.309 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.38, allocations: 12 kB / 493.7 MB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.38, allocations: 16 kB / 493.8 MB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/0.3817, allocations: 0.7475 MB / 494.5 MB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.3831, allocations: 375.4 kB / 494.9 MB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/0.3942, allocations: 11.35 MB / 0.4944 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.3954, allocations: 91.8 kB / 0.4944 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.3955, allocations: 83.98 kB / 0.4945 GB, free: 10.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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,8,100.0%), (9,19,33.3%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001684/0.3972, allocations: 1.208 MB / 0.4957 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.3975, allocations: 221.3 kB / 0.4959 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005075/0.4026, allocations: 3.156 MB / 0.499 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.4026, allocations: 11.91 kB / 0.499 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.4027, allocations: 0 / 0.499 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009588/0.4036, allocations: 0.5254 MB / 0.4995 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/0.4039, allocations: 36 kB / 0.4996 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009496/0.4048, allocations: 75.94 kB / 0.4996 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/0.4052, allocations: 181 kB / 0.4998 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005894/0.4111, allocations: 3.098 MB / 0.5028 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004585/0.4157, allocations: 3.451 MB / 0.5062 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001358/0.417, allocations: 1.025 MB / 0.5072 GB, free: 12.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001908/0.4189, allocations: 1.489 MB / 0.5087 GB, free: 11.44 MB / 446.1 MB Notification: Performance of Backend: time 3.51e-07/0.419, allocations: 0 / 0.5087 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004178/0.4231, allocations: 2.484 MB / 0.5111 GB, free: 8.871 MB / 446.1 MB Notification: Performance of SimCode: time 0.0105/0.4337, allocations: 7.557 MB / 0.5185 GB, free: 1.258 MB / 446.1 MB Notification: Performance of Templates: time 0.2195/0.6532, allocations: 42.05 MB / 0.5595 GB, free: 151.5 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe 2>&1)