Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001139/0.001139, allocations: 189.4 kB / 16.14 MB, free: 6.66 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.276/1.276, allocations: 205.1 MB / 222 MB, free: 4.727 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.00109/0.00109, allocations: 47.94 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1967, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003912/0.2006, allocations: 3.271 MB / 328 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.2027, allocations: 1.335 MB / 329.3 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.2029, allocations: 7.594 kB / 329.3 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.2033, allocations: 124.3 kB / 329.4 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008028/0.2041, allocations: 332.5 kB / 329.7 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.2046, allocations: 243.2 kB / 330 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000525/0.2051, allocations: 425.5 kB / 330.4 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.2053, allocations: 129.9 kB / 330.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.2055, allocations: 146.1 kB / 330.7 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.2058, allocations: 200 kB / 330.9 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.056e-05/0.2058, allocations: 24.41 kB / 330.9 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.2061, allocations: 151.5 kB / 331 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.57e-05/0.2062, allocations: 77.83 kB / 331.1 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.2064, allocations: 183.2 kB / 331.3 MB, free: 13 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005711/0.207, allocations: 0.5173 MB / 331.8 MB, free: 12.63 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.207, allocations: 1.25 kB / 331.8 MB, free: 12.63 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.207, allocations: 4 kB / 331.8 MB, free: 12.62 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.207, allocations: 0 / 331.8 MB, free: 12.62 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001388/0.2084, allocations: 0.7292 MB / 332.5 MB, free: 12.01 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.2084, allocations: 10.56 kB / 332.5 MB, free: 12.01 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006101/0.2091, allocations: 99.69 kB / 332.6 MB, free: 11.96 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.2094, allocations: 308.2 kB / 332.9 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.2095, allocations: 22.22 kB / 333 MB, free: 11.65 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/0.2095, allocations: 43.42 kB / 333 MB, free: 11.63 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006857/0.2102, allocations: 353.7 kB / 333.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2103, allocations: 0 / 333.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.322e-05/0.2103, allocations: 16 kB / 333.4 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.2103, allocations: 12 kB / 333.4 MB, free: 11.33 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004986/0.2108, allocations: 250.1 kB / 333.6 MB, free: 11.09 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.2129, allocations: 1.319 MB / 334.9 MB, free: 9.668 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.2133, allocations: 201.1 kB / 335.1 MB, free: 9.453 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.2135, allocations: 85.67 kB / 335.2 MB, free: 9.363 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007732/0.2142, allocations: 0.8674 MB / 336.1 MB, free: 8.395 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2143, allocations: 46.56 kB / 336.1 MB, free: 8.34 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.2143, allocations: 0 / 336.1 MB, free: 8.34 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005689/0.2149, allocations: 221.2 kB / 336.4 MB, free: 8.117 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.2149, allocations: 89.05 kB / 336.4 MB, free: 8.012 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.2152, allocations: 279.1 kB / 336.7 MB, free: 7.734 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.2152, allocations: 29.7 kB / 336.7 MB, free: 7.699 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.2154, allocations: 239.4 kB / 337 MB, free: 7.461 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.2154, allocations: 59.19 kB / 337 MB, free: 7.402 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/0.2155, allocations: 65.94 kB / 337.1 MB, free: 7.332 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2156, allocations: 330.8 kB / 337.4 MB, free: 7 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.2158, allocations: 68.61 kB / 337.5 MB, free: 6.934 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.216, allocations: 210.3 kB / 337.7 MB, free: 6.668 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.2164, allocations: 292.9 kB / 338 MB, free: 6.32 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2164, allocations: 0 / 338 MB, free: 6.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005147/0.217, allocations: 317.1 kB / 338.3 MB, free: 6.004 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.217, allocations: 8 kB / 338.3 MB, free: 5.996 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.217, allocations: 4 kB / 338.3 MB, free: 5.992 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.217, allocations: 8 kB / 338.3 MB, free: 5.984 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.2173, allocations: 79.83 kB / 338.4 MB, free: 5.906 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.2173, allocations: 11.94 kB / 338.4 MB, free: 5.895 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.2175, allocations: 43.91 kB / 338.4 MB, free: 5.852 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.2176, allocations: 19.92 kB / 338.5 MB, free: 5.832 MB / 270.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.2177, allocations: 153.7 kB / 338.6 MB, free: 5.672 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.2178, allocations: 27.72 kB / 338.6 MB, free: 5.645 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.2179, allocations: 25.73 kB / 338.7 MB, free: 5.617 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.2179, allocations: 7.938 kB / 338.7 MB, free: 5.609 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2179, allocations: 0 / 338.7 MB, free: 5.609 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2179, allocations: 0 / 338.7 MB, free: 5.609 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006329/0.2185, allocations: 0.5108 MB / 339.2 MB, free: 5.039 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2185, allocations: 0 / 339.2 MB, free: 5.039 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.2188, allocations: 51.84 kB / 339.2 MB, free: 4.988 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2188, allocations: 0 / 339.2 MB, free: 4.988 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.2188, allocations: 8 kB / 339.2 MB, free: 4.98 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.2188, allocations: 3.984 kB / 339.2 MB, free: 4.977 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2189, allocations: 0 / 339.2 MB, free: 4.977 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005695/0.2194, allocations: 423.5 kB / 339.7 MB, free: 4.543 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.47e-05/0.2195, allocations: 104.7 kB / 339.8 MB, free: 4.422 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.2196, allocations: 8 kB / 339.8 MB, free: 4.414 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.2198, allocations: 16.05 kB / 339.8 MB, free: 4.398 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.2199, allocations: 15.98 kB / 339.8 MB, free: 4.383 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.2199, allocations: 4 kB / 339.8 MB, free: 4.379 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.2201, allocations: 198 kB / 340 MB, free: 4.184 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2201, allocations: 0 / 340 MB, free: 4.184 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004333/0.2205, allocations: 75.78 kB / 340.1 MB, free: 4.109 MB / 270.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001638/0.2207, allocations: 111.2 kB / 340.2 MB, free: 3.992 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003889/0.2211, allocations: 192.6 kB / 340.4 MB, free: 3.805 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2211, allocations: 3.938 kB / 340.4 MB, free: 3.801 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.2213, allocations: 76.09 kB / 340.4 MB, free: 3.727 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.2217, allocations: 33.38 kB / 340.5 MB, free: 3.695 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.2229, allocations: 0.7775 MB / 341.3 MB, free: 2.891 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.2233, allocations: 0.7796 MB / 342 MB, free: 2.086 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.2234, allocations: 34.95 kB / 342.1 MB, free: 2.051 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.2235, allocations: 23.44 kB / 342.1 MB, free: 2.027 MB / 270.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2235, allocations: 0 / 342.1 MB, free: 2.027 MB / 270.1 MB Notification: Performance of Templates: time 0.005392/0.2289, allocations: 2.184 MB / 344.3 MB, free: 15.85 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)