Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009588/0.0009587, allocations: 182.8 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.317/1.317, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001581/0.001581, allocations: 124.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.882e-05, allocations: 3.984 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06425/0.06429, allocations: 44.51 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2656/0.3299, allocations: 76.78 MB / 426.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001591/0.3301, allocations: 79.48 kB / 426.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02099/0.3511, allocations: 9.724 MB / 436 MB, free: 6.879 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3511, allocations: 1.312 kB / 436 MB, free: 6.879 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.3512, allocations: 7.812 kB / 436 MB, free: 6.875 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.000871/0.352, allocations: 0.6416 MB / 436.7 MB, free: 6.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3521, allocations: 11.59 kB / 436.7 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000427/0.3525, allocations: 86.53 kB / 436.8 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.3528, allocations: 293.7 kB / 437.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3529, allocations: 26.28 kB / 437.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.3529, allocations: 36 kB / 437.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004382/0.3534, allocations: 330.8 kB / 437.4 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3534, allocations: 0 / 437.4 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.3534, allocations: 19.56 kB / 437.5 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.3534, allocations: 15.61 kB / 437.5 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.3537, allocations: 224.2 kB / 437.7 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.3554, allocations: 1.376 MB / 439.1 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.3556, allocations: 167.7 kB / 439.2 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.311e-05/0.3557, allocations: 77.41 kB / 439.3 MB, free: 4.945 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005463/0.3563, allocations: 0.8882 MB / 440.2 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.3563, allocations: 33.31 kB / 440.2 MB, free: 4.027 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.3563, allocations: 0 / 440.2 MB, free: 4.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002487/0.3566, allocations: 132.2 kB / 440.4 MB, free: 3.973 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.3566, allocations: 80.95 kB / 440.4 MB, free: 3.879 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.3568, allocations: 242.2 kB / 440.7 MB, free: 3.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3568, allocations: 37.3 kB / 440.7 MB, free: 3.734 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.3569, allocations: 236.3 kB / 440.9 MB, free: 3.555 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.3569, allocations: 48.61 kB / 441 MB, free: 3.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.3569, allocations: 9.844 kB / 441 MB, free: 3.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.83e-05/0.357, allocations: 336.8 kB / 441.3 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.3571, allocations: 47.44 kB / 441.4 MB, free: 3.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.3572, allocations: 185 kB / 441.6 MB, free: 3.023 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.3573, allocations: 84.7 kB / 441.6 MB, free: 3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3573, allocations: 3.969 kB / 441.6 MB, free: 3 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003168/0.3576, allocations: 273.9 kB / 441.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3577, allocations: 7.656 kB / 441.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3577, allocations: 3.875 kB / 441.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3577, allocations: 7.688 kB / 441.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.3579, allocations: 77.3 kB / 442 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.358, allocations: 12 kB / 442 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.3582, allocations: 38.38 kB / 442.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.3582, allocations: 18.77 kB / 442.1 MB, free: 2.855 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.23e-05/0.3583, allocations: 115 kB / 442.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/0.3583, allocations: 27.17 kB / 442.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.636e-05/0.3584, allocations: 29.02 kB / 442.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3584, allocations: 0 / 442.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3584, allocations: 7.906 kB / 442.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3584, allocations: 3.938 kB / 442.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.3589, allocations: 0.4964 MB / 442.7 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3589, allocations: 3.844 kB / 442.8 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.3591, allocations: 42.66 kB / 442.8 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3591, allocations: 0 / 442.8 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3591, allocations: 3.75 kB / 442.8 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3591, allocations: 3.781 kB / 442.8 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3591, allocations: 4.031 kB / 442.8 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.3594, allocations: 378.2 kB / 443.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.3594, allocations: 100.5 kB / 443.3 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.3595, allocations: 3.75 kB / 443.3 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.3597, allocations: 19.58 kB / 443.3 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.3597, allocations: 11.2 kB / 443.3 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.3597, allocations: 3.844 kB / 443.3 MB, free: 1.922 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001344/0.3599, allocations: 195.1 kB / 443.5 MB, free: 1.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3599, allocations: 0 / 443.5 MB, free: 1.828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.3603, allocations: 84.12 kB / 443.6 MB, free: 1.812 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001272/0.3604, allocations: 121.5 kB / 443.7 MB, free: 1.719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.3606, allocations: 159.3 kB / 443.9 MB, free: 1.688 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3606, allocations: 0 / 443.9 MB, free: 1.688 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.489e-05/0.3607, allocations: 46.62 kB / 443.9 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.3609, allocations: 26.28 kB / 443.9 MB, free: 1.676 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006759/0.3616, allocations: 458.6 kB / 444.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.3618, allocations: 0.7925 MB / 445.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.3619, allocations: 29.59 kB / 445.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.362, allocations: 22.81 kB / 445.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of SimCode: time 2.7e-07/0.362, allocations: 0 / 445.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of Templates: time 0.004924/0.3669, allocations: 2.179 MB / 447.4 MB, free: 14.59 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)