Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001431/0.001431, allocations: 188.7 kB / 8.135 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.093/1.093, allocations: 194.2 MB / 202.8 MB, free: 8.656 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001793/0.001793, allocations: 126.7 kB / 247.8 MB, free: 6.293 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.256e-06/8.286e-06, allocations: 4 kB / 297.6 MB, free: 7.902 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07386/0.07388, allocations: 44.49 MB / 342.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2319/0.3059, allocations: 120 MB / 462 MB, free: 7.836 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.3061, allocations: 84.52 kB / 462.1 MB, free: 7.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1542/0.4603, allocations: 54.31 MB / 0.5043 GB, free: 8.246 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002812/0.4607, allocations: 71.92 kB / 0.5044 GB, free: 8.176 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.00659/0.4673, allocations: 2.542 MB / 0.5069 GB, free: 5.574 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.322e-05/0.4674, allocations: 12.03 kB / 0.5069 GB, free: 5.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/0.4698, allocations: 436 kB / 0.5073 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004661/0.4744, allocations: 1.726 MB / 0.509 GB, free: 3.352 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.4746, allocations: 76 kB / 0.509 GB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006402/0.4752, allocations: 147.8 kB / 0.5092 GB, free: 3.133 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005069/0.4803, allocations: 2.259 MB / 0.5114 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1127/0.5931, allocations: 2.63 MB / 0.514 GB, free: 123.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-05/0.5932, allocations: 11.56 kB / 0.514 GB, free: 123.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002133/0.5934, allocations: 0 / 0.514 GB, free: 123.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.859e-05/0.5935, allocations: 105.1 kB / 0.5141 GB, free: 123.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/0.6077, allocations: 9.681 MB / 0.5235 GB, free: 120.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.6093, allocations: 1.108 MB / 0.5246 GB, free: 120.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.6108, allocations: 1.182 MB / 0.5258 GB, free: 120.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002717/0.6111, allocations: 130.6 kB / 0.5259 GB, free: 120.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.6111, allocations: 59.19 kB / 0.5259 GB, free: 120.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 4.177e-06/0.6111, allocations: 3.828 kB / 0.5259 GB, free: 120.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=174): time 0.01033/0.6215, allocations: 5.824 MB / 0.5316 GB, free: 119.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.6215, allocations: 175.4 kB / 0.5318 GB, free: 119.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/0.6235, allocations: 1.316 MB / 0.5331 GB, free: 119.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001736/0.6237, allocations: 25.7 kB / 0.5331 GB, free: 119.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000354/0.624, allocations: 0.8782 MB / 0.534 GB, free: 119 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003528/0.6244, allocations: 0.5671 MB / 0.5345 GB, free: 118.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-05/0.6245, allocations: 0 / 0.5345 GB, free: 118.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.6246, allocations: 383.6 kB / 0.5349 GB, free: 118.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.6257, allocations: 0.8766 MB / 0.5357 GB, free: 118.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.6271, allocations: 1.302 MB / 0.537 GB, free: 117.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.6284, allocations: 1.075 MB / 0.5381 GB, free: 117.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.6285, allocations: 3.938 kB / 0.5381 GB, free: 117.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.005042/0.6335, allocations: 3.091 MB / 0.5411 GB, free: 117.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008189/0.6344, allocations: 4.642 MB / 0.5456 GB, free: 112.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/0.6344, allocations: 16.84 kB / 0.5456 GB, free: 112.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002356/0.6368, allocations: 0.9565 MB / 0.5466 GB, free: 112.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.6383, allocations: 359.8 kB / 0.5469 GB, free: 112.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/0.6492, allocations: 11.03 MB / 0.5577 GB, free: 105.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.651, allocations: 53.2 kB / 0.5577 GB, free: 105.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/0.6512, allocations: 75.66 kB / 0.5578 GB, free: 105.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.6513, allocations: 3.625 kB / 0.5578 GB, free: 105.8 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004477/0.6557, allocations: 2.855 MB / 0.5606 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/0.6558, allocations: 17.03 kB / 0.5606 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/0.658, allocations: 0.9544 MB / 0.5615 GB, free: 104.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.6594, allocations: 359.7 kB / 0.5619 GB, free: 104.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/0.6704, allocations: 11 MB / 0.5726 GB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.6722, allocations: 44.48 kB / 0.5727 GB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/0.6723, allocations: 75.36 kB / 0.5727 GB, free: 97.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 182 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004177/0.6728, allocations: 161.5 kB / 0.5729 GB, free: 97.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/0.6731, allocations: 199.2 kB / 0.5731 GB, free: 97.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004231/0.6773, allocations: 2.795 MB / 0.5758 GB, free: 96.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.6774, allocations: 18.86 kB / 0.5758 GB, free: 96.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.6774, allocations: 7.719 kB / 0.5758 GB, free: 96.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.6774, allocations: 7.406 kB / 0.5758 GB, free: 96.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009024/0.6865, allocations: 5.408 MB / 0.5811 GB, free: 93.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.6865, allocations: 2.188 kB / 0.5811 GB, free: 93.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.6876, allocations: 224.7 kB / 0.5813 GB, free: 93.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002715/0.6903, allocations: 1.021 MB / 0.5823 GB, free: 93.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.6905, allocations: 20.19 kB / 0.5824 GB, free: 93.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/0.7028, allocations: 12.64 MB / 0.5947 GB, free: 84.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.7028, allocations: 7.375 kB / 0.5947 GB, free: 84.91 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005938/0.7088, allocations: 4.308 MB / 0.5989 GB, free: 83.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.7099, allocations: 473.5 kB / 0.5994 GB, free: 82.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003621/0.7103, allocations: 6.469 kB / 0.5994 GB, free: 82.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.7115, allocations: 65.25 kB / 0.5994 GB, free: 82.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.7117, allocations: 101.7 kB / 0.5995 GB, free: 82.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.7118, allocations: 49.42 kB / 0.5996 GB, free: 82.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001521/0.7134, allocations: 0.9855 MB / 0.6005 GB, free: 82.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003425/0.7168, allocations: 1.002 MB / 0.6015 GB, free: 82.31 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 109 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006196/0.7174, allocations: 359.5 kB / 0.6019 GB, free: 82.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006611/0.7241, allocations: 4.988 MB / 0.6067 GB, free: 78.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.7241, allocations: 8.125 kB / 0.6067 GB, free: 78.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.7267, allocations: 1.881 MB / 0.6086 GB, free: 77.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.7289, allocations: 403.1 kB / 0.609 GB, free: 76.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009085/0.738, allocations: 4.706 MB / 0.6136 GB, free: 72.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00168/0.7397, allocations: 2.108 MB / 0.6156 GB, free: 70.96 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7397, allocations: 0 / 0.6156 GB, free: 70.96 MB / 394.7 MB Notification: Performance of Templates: time 0.06815/0.8078, allocations: 46.38 MB / 0.6609 GB, free: 33.25 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1)