Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 105.7 kB / 18.4 MB, free: 4.66 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.001872/0.001872, allocations: 187 kB / 19.34 MB, free: 3.734 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.356/1.356, 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.001188/0.001188, allocations: 59.92 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07636/0.07756, allocations: 46.61 MB / 375.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.1663/0.2439, allocations: 10.45 MB / 386.3 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009461/0.2534, allocations: 6.313 MB / 392.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.255, allocations: 36.09 kB / 392.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.2562, allocations: 484.6 kB / 393.1 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.2584, allocations: 0.8996 MB / 394 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005649/0.2641, allocations: 2.514 MB / 396.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004853/0.269, allocations: 3.467 MB / 400 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.2701, allocations: 0.7525 MB / 400.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.2723, allocations: 1.293 MB / 402 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.2747, allocations: 1.464 MB / 403.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006871/0.2754, allocations: 332.3 kB / 403.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.2769, allocations: 0.5668 MB / 404.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006667/0.2776, allocations: 0.7436 MB / 405.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.2791, allocations: 1.399 MB / 406.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004283/0.2834, allocations: 3.926 MB / 410.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2834, allocations: 1.125 kB / 410.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.2834, allocations: 0 / 410.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.067e-05/0.2835, allocations: 3.938 kB / 410.5 MB, free: 9.52 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.00754/0.291, allocations: 3.073 MB / 413.6 MB, free: 7.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.2911, allocations: 9.031 kB / 413.6 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005236/0.2916, allocations: 274.3 kB / 413.8 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/0.2938, allocations: 1.379 MB / 415.2 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/0.294, allocations: 243.4 kB / 415.4 MB, free: 6.074 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000538/0.2946, allocations: 236.3 kB / 415.7 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003631/0.2982, allocations: 2.167 MB / 417.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/0.2983, allocations: 5.281 kB / 417.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.2985, allocations: 79.25 kB / 417.9 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/0.2985, allocations: 48.12 kB / 418 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0038/0.3023, allocations: 1.918 MB / 419.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01119/0.3135, allocations: 7.786 MB / 427.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003427/0.317, allocations: 2.081 MB / 429.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002887/0.3199, allocations: 1.578 MB / 431.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.32, allocations: 37.92 kB / 431.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/0.32, allocations: 68.48 kB / 431.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=208): time 4.478e-06/0.32, allocations: 0 / 431.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=250): time 0.05324/0.3733, allocations: 14.07 MB / 445.5 MB, free: 9.281 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/0.3735, allocations: 393.8 kB / 445.9 MB, free: 8.809 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/0.3757, allocations: 1.506 MB / 447.4 MB, free: 7.293 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002143/0.3759, allocations: 77.69 kB / 447.5 MB, free: 7.211 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000641/0.3766, allocations: 0.8236 MB / 448.3 MB, free: 6.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007359/0.3773, allocations: 0.8315 MB / 449.1 MB, free: 5.535 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007074/0.378, allocations: 408.5 kB / 449.5 MB, free: 5.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.3781, allocations: 301.1 kB / 449.8 MB, free: 4.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/0.3802, allocations: 0.9963 MB / 450.8 MB, free: 3.832 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002293/0.3826, allocations: 1.264 MB / 452.1 MB, free: 2.5 MB / 366.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.03399/0.4166, allocations: 9.429 MB / 461.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.4166, allocations: 0 / 461.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005984/0.4226, allocations: 2.944 MB / 464.5 MB, free: 5.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.4226, allocations: 7.938 kB / 464.5 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.4227, allocations: 11.92 kB / 464.5 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009535/0.4236, allocations: 349 kB / 464.8 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/0.4263, allocations: 0.55 MB / 465.4 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008993/0.4353, allocations: 10.94 MB / 476.3 MB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.4375, allocations: 120 kB / 476.4 MB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/0.4377, allocations: 88.02 kB / 476.5 MB, free: 9.035 MB / 398.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: transformer.winding13.i = transformer.I1Start[3] transformer.H[2] = transformer.HStart[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 9 (diode6.off,diode5.off,diode4.off,diode3.off,diode2.off,diode1.off,transformer.core3.asc,transformer.core2.asc,transformer.core1.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 247 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0009735/0.4387, allocations: 469 kB / 477 MB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005118/0.4392, allocations: 213.4 kB / 477.2 MB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008702/0.4479, allocations: 3.457 MB / 480.6 MB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-05/0.448, allocations: 11.95 kB / 480.6 MB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/0.448, allocations: 4 kB / 480.6 MB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.4491, allocations: 0.5334 MB / 481.2 MB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005246/0.4496, allocations: 55.98 kB / 481.2 MB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/0.4518, allocations: 131.9 kB / 481.4 MB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004273/0.4522, allocations: 185.7 kB / 481.5 MB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01108/0.4633, allocations: 3.886 MB / 485.4 MB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007539/0.4708, allocations: 4.328 MB / 489.8 MB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002087/0.4729, allocations: 1.191 MB / 490.9 MB, free: 10.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001512/0.4745, allocations: 1.041 MB / 492 MB, free: 9.242 MB / 414.1 MB Notification: Performance of Backend: time 3.81e-07/0.4745, allocations: 0 / 492 MB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005402/0.4799, allocations: 2.632 MB / 494.6 MB, free: 6.504 MB / 414.1 MB Notification: Performance of SimCode: time 0.00732/0.4872, allocations: 5.569 MB / 0.4885 GB, free: 0.875 MB / 414.1 MB Notification: Performance of Templates: time 0.06784/0.5551, allocations: 41.11 MB / 0.5286 GB, free: 7.68 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)