Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.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.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001257/0.001257, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004522/0.0004523, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2401, allocations: 47.58 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.005918/0.246, allocations: 5.07 MB / 331.5 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004154/0.2502, allocations: 2.074 MB / 333.6 MB, free: 11.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006691/0.2509, allocations: 17.12 kB / 333.6 MB, free: 11.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005711/0.2515, allocations: 201.5 kB / 333.8 MB, free: 11.65 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.2533, allocations: 0.7166 MB / 334.5 MB, free: 11.08 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008567/0.2541, allocations: 368.7 kB / 334.9 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.2552, allocations: 0.7883 MB / 335.7 MB, free: 10.28 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.2566, allocations: 0.9141 MB / 336.6 MB, free: 9.316 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004918/0.2571, allocations: 366.6 kB / 336.9 MB, free: 8.957 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005385/0.2577, allocations: 461.9 kB / 337.4 MB, free: 8.504 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.697e-05/0.2578, allocations: 52 kB / 337.4 MB, free: 8.453 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004494/0.2582, allocations: 183.8 kB / 337.6 MB, free: 8.273 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.2584, allocations: 163.3 kB / 337.8 MB, free: 8.113 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.2586, allocations: 213.1 kB / 338 MB, free: 7.898 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.2596, allocations: 1.067 MB / 339.1 MB, free: 6.828 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.2596, allocations: 0 / 339.1 MB, free: 6.828 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2596, allocations: 0 / 339.1 MB, free: 6.828 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.2597, allocations: 0 / 339.1 MB, free: 6.828 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.002748/0.2624, allocations: 1.276 MB / 340.3 MB, free: 5.496 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2625, allocations: 8.031 kB / 340.3 MB, free: 5.488 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/0.2654, allocations: 470.3 kB / 340.8 MB, free: 5.027 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008851/0.2663, allocations: 0.5607 MB / 341.4 MB, free: 4.426 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/0.2663, allocations: 77.98 kB / 341.4 MB, free: 4.348 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.2665, allocations: 100 kB / 341.5 MB, free: 4.25 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.2683, allocations: 1.051 MB / 342.6 MB, free: 3.148 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.2683, allocations: 0 / 342.6 MB, free: 3.148 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.703e-05/0.2684, allocations: 44 kB / 342.6 MB, free: 3.105 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.2685, allocations: 35.97 kB / 342.7 MB, free: 3.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.2702, allocations: 0.9291 MB / 343.6 MB, free: 2.145 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005581/0.2758, allocations: 3.762 MB / 347.4 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.2784, allocations: 2.505 MB / 349.9 MB, free: 11.33 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.2786, allocations: 93.75 kB / 350 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008726/0.2795, allocations: 0.5007 MB / 350.5 MB, free: 10.69 MB / 286.1 MB Notification: Performance of pre-optimization done (n=86): time 2.454e-06/0.2795, allocations: 0 / 350.5 MB, free: 10.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=86): time 0.004446/0.2839, allocations: 1.685 MB / 352.1 MB, free: 8.957 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.2841, allocations: 192.9 kB / 352.3 MB, free: 8.723 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000567/0.2846, allocations: 470 kB / 352.8 MB, free: 8.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.2847, allocations: 45.7 kB / 352.8 MB, free: 8.199 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.2851, allocations: 435.3 kB / 353.3 MB, free: 7.766 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.2853, allocations: 280 kB / 353.5 MB, free: 7.488 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.2854, allocations: 24.03 kB / 353.6 MB, free: 7.465 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2855, allocations: 374.8 kB / 353.9 MB, free: 7.09 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/0.2861, allocations: 285.8 kB / 354.2 MB, free: 6.812 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007119/0.2868, allocations: 0.524 MB / 354.7 MB, free: 6.18 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006239/0.2874, allocations: 343 kB / 355.1 MB, free: 5.848 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.2874, allocations: 0 / 355.1 MB, free: 5.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001991/0.2894, allocations: 1.096 MB / 356.2 MB, free: 4.738 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.2895, allocations: 8 kB / 356.2 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.2895, allocations: 8 kB / 356.2 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008691/0.2904, allocations: 275.8 kB / 356.4 MB, free: 4.449 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/0.291, allocations: 167.8 kB / 356.6 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005377/0.2964, allocations: 4.461 MB / 361.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007261/0.2971, allocations: 119.1 kB / 361.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.2972, allocations: 40.17 kB / 361.2 MB, free: 15.4 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of prepare postOptimizeDAE: time 0.000462/0.2977, allocations: 249.7 kB / 361.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.2978, allocations: 83.06 kB / 361.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.2998, allocations: 0.9832 MB / 362.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.2998, allocations: 8 kB / 362.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2998, allocations: 0 / 362.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.2998, allocations: 3.984 kB / 362.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003095/0.3029, allocations: 1.958 MB / 364.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.3029, allocations: 0 / 364.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.3034, allocations: 107.9 kB / 364.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007615/0.3042, allocations: 269.9 kB / 364.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/0.3042, allocations: 24 kB / 364.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004926/0.3092, allocations: 4.42 MB / 369.3 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.3092, allocations: 8.016 kB / 369.3 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.3116, allocations: 1.423 MB / 370.7 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/0.3119, allocations: 212 kB / 370.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.69e-05/0.312, allocations: 23.95 kB / 371 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.3125, allocations: 51.97 kB / 371 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.3127, allocations: 68.89 kB / 371.1 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.3127, allocations: 24 kB / 371.1 MB, free: 5.094 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003431/0.3131, allocations: 314.9 kB / 371.4 MB, free: 4.789 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3131, allocations: 0 / 371.4 MB, free: 4.789 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001231/0.3143, allocations: 315.1 kB / 371.7 MB, free: 4.48 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002849/0.3146, allocations: 163.3 kB / 371.9 MB, free: 4.312 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001941/0.3165, allocations: 1.116 MB / 373 MB, free: 3.172 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.3166, allocations: 8.062 kB / 373 MB, free: 3.164 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.3177, allocations: 0.743 MB / 373.8 MB, free: 2.398 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.3182, allocations: 97.92 kB / 373.8 MB, free: 2.301 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.3212, allocations: 2.055 MB / 375.9 MB, free: 212 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/0.3219, allocations: 1.014 MB / 376.9 MB, free: 15.17 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003577/0.3222, allocations: 81.66 kB / 377 MB, free: 15.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.3224, allocations: 51.44 kB / 377 MB, free: 15.04 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3224, allocations: 3.938 kB / 377.1 MB, free: 15.03 MB / 318.1 MB Notification: Performance of Templates: time 0.01885/0.3412, allocations: 11.11 MB / 388.2 MB, free: 3.902 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) Environment - environmentSimulation: