Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008451/0.008451, allocations: 166.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.517/1.517, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00159/0.00159, allocations: 114.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.0003399, allocations: 11.98 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2676, allocations: 38.76 MB / 312.9 MB, free: 38.75 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.3702, allocations: 70.85 MB / 383.7 MB, free: 3.664 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.3706, allocations: 83.95 kB / 383.8 MB, free: 3.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02247/0.393, allocations: 8.99 MB / 392.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.3931, allocations: 0 / 392.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.3931, allocations: 8 kB / 392.8 MB, free: 10.5 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001197/0.3943, allocations: 0.6586 MB / 393.5 MB, free: 9.789 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3944, allocations: 8.031 kB / 393.5 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.3946, allocations: 55.52 kB / 393.5 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.395, allocations: 288.2 kB / 393.8 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.395, allocations: 28.61 kB / 393.8 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.3951, allocations: 36 kB / 393.9 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.3956, allocations: 320.1 kB / 394.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3956, allocations: 0 / 394.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.3957, allocations: 12 kB / 394.2 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3957, allocations: 8 kB / 394.2 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.3961, allocations: 216.5 kB / 394.4 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.3981, allocations: 1.32 MB / 395.7 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.3984, allocations: 149.1 kB / 395.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.3984, allocations: 7.953 kB / 395.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.3985, allocations: 38.5 kB / 395.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.3985, allocations: 0 / 395.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004984/0.399, allocations: 205.3 kB / 396.1 MB, free: 6.941 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.399, allocations: 81.11 kB / 396.2 MB, free: 6.844 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.3993, allocations: 246.1 kB / 396.5 MB, free: 6.598 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.3993, allocations: 25.7 kB / 396.5 MB, free: 6.566 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3995, allocations: 227.6 kB / 396.7 MB, free: 6.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.3995, allocations: 55.38 kB / 396.8 MB, free: 6.285 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.3996, allocations: 4 kB / 396.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3997, allocations: 338.8 kB / 397.1 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.3999, allocations: 59.97 kB / 397.2 MB, free: 5.883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.4001, allocations: 165.7 kB / 397.3 MB, free: 5.672 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.4003, allocations: 84.89 kB / 397.4 MB, free: 5.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4003, allocations: 0 / 397.4 MB, free: 5.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004577/0.4008, allocations: 272.9 kB / 397.7 MB, free: 5.316 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4008, allocations: 10.14 kB / 397.7 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.4008, allocations: 4 kB / 397.7 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.4008, allocations: 11.98 kB / 397.7 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.4011, allocations: 72.34 kB / 397.8 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.4011, allocations: 7.938 kB / 397.8 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.4013, allocations: 31.69 kB / 397.8 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.4013, allocations: 15.98 kB / 397.8 MB, free: 5.168 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (31): * Single equations (assignments): 31 * 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 0.0001631/0.4015, allocations: 149.8 kB / 398 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.4016, allocations: 23.72 kB / 398 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.761e-05/0.4016, allocations: 29.69 kB / 398 MB, free: 4.957 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4016, allocations: 4.25 kB / 398 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4016, allocations: 0 / 398 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4017, allocations: 4 kB / 398 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006845/0.4023, allocations: 0.5069 MB / 398.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4024, allocations: 0 / 398.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.4026, allocations: 43.97 kB / 398.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4026, allocations: 0 / 398.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.4026, allocations: 0 / 398.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4026, allocations: 7.938 kB / 398.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.4026, allocations: 3.984 kB / 398.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005486/0.4032, allocations: 422.9 kB / 399 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.81e-05/0.4033, allocations: 108.8 kB / 399.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.4033, allocations: 0 / 399.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.4035, allocations: 24.05 kB / 399.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.4036, allocations: 7.984 kB / 399.1 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.4036, allocations: 4 kB / 399.1 MB, free: 3.723 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.4038, allocations: 198 kB / 399.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4038, allocations: 7.875 kB / 399.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003999/0.4042, allocations: 75.69 kB / 399.4 MB, free: 3.449 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter_m.Phi.re,inductor_e.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0001906/0.4044, allocations: 115.2 kB / 399.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003547/0.4048, allocations: 165 kB / 399.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4048, allocations: 4 kB / 399.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.4049, allocations: 60.84 kB / 399.8 MB, free: 3.105 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.4052, allocations: 33.06 kB / 399.8 MB, free: 3.066 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.4064, allocations: 0.7785 MB / 400.6 MB, free: 2.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.4067, allocations: 0.7716 MB / 401.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.4069, allocations: 26.28 kB / 401.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.4069, allocations: 23.44 kB / 401.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4069, allocations: 0 / 401.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of Templates: time 0.005381/0.4123, allocations: 2.036 MB / 403.4 MB, free: 15.39 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)