Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001556/0.001556, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001942/0.001942, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 67.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2243, allocations: 50.55 MB / 410 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01018/0.2345, allocations: 9.661 MB / 419.6 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005018/0.2395, allocations: 3.155 MB / 422.8 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007499/0.2403, allocations: 55.75 kB / 422.8 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.2417, allocations: 0.7027 MB / 423.5 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.2435, allocations: 0.8116 MB / 424.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000692/0.2442, allocations: 395.4 kB / 424.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002426/0.2466, allocations: 2.553 MB / 427.3 MB, free: 172 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002443/0.2491, allocations: 2.33 MB / 429.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.2506, allocations: 1.207 MB / 430.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.2523, allocations: 1.498 MB / 432.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000362/0.2527, allocations: 320 kB / 432.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006579/0.2533, allocations: 415.8 kB / 433 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00076/0.2541, allocations: 0.9038 MB / 433.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.2554, allocations: 1.416 MB / 435.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00364/0.2591, allocations: 4.164 MB / 439.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2591, allocations: 0 / 439.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2591, allocations: 0 / 439.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.446e-05/0.2591, allocations: 0 / 439.5 MB, free: 3.836 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.00526/0.2644, allocations: 2.916 MB / 442.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2645, allocations: 12.03 kB / 442.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007634/0.2652, allocations: 289.7 kB / 442.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.2676, allocations: 1.542 MB / 444.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.2677, allocations: 164.3 kB / 444.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003803/0.2681, allocations: 211.9 kB / 444.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004303/0.2724, allocations: 2.796 MB / 447.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.07e-05/0.2724, allocations: 11.91 kB / 447.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001953/0.2726, allocations: 83.98 kB / 447.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.2728, allocations: 108.2 kB / 447.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003805/0.2766, allocations: 2.355 MB / 450 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/0.2882, allocations: 8.491 MB / 458.5 MB, free: 400 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.2906, allocations: 1.703 MB / 460.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.2922, allocations: 0.9596 MB / 461.1 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/0.2925, allocations: 203.2 kB / 461.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.2926, allocations: 51.5 kB / 461.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.645e-06/0.2926, allocations: 0 / 461.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01268/0.3053, allocations: 6.243 MB / 467.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.3053, allocations: 60.41 kB / 467.7 MB, free: 6.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.3072, allocations: 1.445 MB / 469.1 MB, free: 5.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.981e-05/0.3073, allocations: 49.69 kB / 469.2 MB, free: 5.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006769/0.308, allocations: 1.037 MB / 470.2 MB, free: 4.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002902/0.3083, allocations: 406.1 kB / 470.6 MB, free: 3.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/0.3087, allocations: 259.5 kB / 470.9 MB, free: 3.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3088, allocations: 365.9 kB / 471.2 MB, free: 3.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.3099, allocations: 0.6909 MB / 471.9 MB, free: 2.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.3113, allocations: 1.073 MB / 473 MB, free: 1.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/0.3139, allocations: 1.868 MB / 474.9 MB, free: 15.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3139, allocations: 4 kB / 474.9 MB, free: 15.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003923/0.3178, allocations: 2.413 MB / 477.3 MB, free: 12.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.3179, allocations: 11.98 kB / 477.3 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.3179, allocations: 12 kB / 477.3 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009596/0.3189, allocations: 422.8 kB / 477.7 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.3201, allocations: 335.5 kB / 478 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006652/0.3268, allocations: 7.037 MB / 485.1 MB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.3278, allocations: 99.8 kB / 485.2 MB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.3279, allocations: 63.98 kB / 485.2 MB, free: 4.434 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001019/0.329, allocations: 0.6885 MB / 485.9 MB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.3292, allocations: 158 kB / 486.1 MB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003739/0.333, allocations: 2.13 MB / 488.2 MB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.333, allocations: 3.984 kB / 488.2 MB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.333, allocations: 3.984 kB / 488.2 MB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006038/0.3336, allocations: 379.1 kB / 488.6 MB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.3338, allocations: 28 kB / 488.6 MB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008408/0.3347, allocations: 87.89 kB / 488.7 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.3349, allocations: 96.78 kB / 488.8 MB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004348/0.3393, allocations: 2.136 MB / 490.9 MB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003788/0.3431, allocations: 2.628 MB / 493.6 MB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001061/0.3441, allocations: 0.7339 MB / 494.3 MB, free: 11.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001315/0.3455, allocations: 0.9888 MB / 495.3 MB, free: 10.27 MB / 414.1 MB Notification: Performance of Backend: time 2.3e-07/0.3455, allocations: 0 / 495.3 MB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003304/0.3488, allocations: 1.778 MB / 497.1 MB, free: 8.434 MB / 414.1 MB Notification: Performance of SimCode: time 0.006635/0.3554, allocations: 4.729 MB / 0.49 GB, free: 3.66 MB / 414.1 MB Notification: Performance of Templates: time 0.04016/0.3956, allocations: 26.37 MB / 0.5158 GB, free: 9.504 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1)