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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 194 kB / 16.53 MB, free: 6.664 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.337/1.337, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001145/0.001145, allocations: 52.41 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1974, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003807/0.2012, allocations: 3.238 MB / 328.6 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.2031, allocations: 1.332 MB / 329.9 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.2033, allocations: 11.25 kB / 329.9 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.2036, allocations: 151.7 kB / 330 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007751/0.2044, allocations: 352.5 kB / 330.4 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.2049, allocations: 274.2 kB / 330.7 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.2054, allocations: 443.3 kB / 331.1 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.2056, allocations: 145.2 kB / 331.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.2058, allocations: 166.3 kB / 331.4 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.2061, allocations: 192 kB / 331.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.558e-05/0.2062, allocations: 34.69 kB / 331.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.2065, allocations: 162.6 kB / 331.8 MB, free: 13.01 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.35e-05/0.2066, allocations: 82.5 kB / 331.9 MB, free: 12.94 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.2068, allocations: 195.1 kB / 332 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005541/0.2073, allocations: 0.5262 MB / 332.6 MB, free: 12.43 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2073, allocations: 4 kB / 332.6 MB, free: 12.43 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2073, allocations: 0 / 332.6 MB, free: 12.43 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.2074, allocations: 1.156 kB / 332.6 MB, free: 12.43 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.001367/0.2087, allocations: 0.7369 MB / 333.3 MB, free: 11.8 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2088, allocations: 17.27 kB / 333.3 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006175/0.2094, allocations: 97.31 kB / 333.4 MB, free: 11.74 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.2098, allocations: 316.3 kB / 333.7 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.2098, allocations: 25.38 kB / 333.8 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.2099, allocations: 32.38 kB / 333.8 MB, free: 11.33 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005767/0.2105, allocations: 357.6 kB / 334.1 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2105, allocations: 4 kB / 334.1 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.2105, allocations: 12 kB / 334.2 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.2105, allocations: 8 kB / 334.2 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.211, allocations: 250.1 kB / 334.4 MB, free: 10.7 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.213, allocations: 1.315 MB / 335.7 MB, free: 9.285 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.2134, allocations: 201.1 kB / 335.9 MB, free: 9.07 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.2136, allocations: 85.67 kB / 336 MB, free: 8.98 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007934/0.2144, allocations: 0.8674 MB / 336.9 MB, free: 8.012 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.2145, allocations: 38.56 kB / 336.9 MB, free: 7.965 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.2145, allocations: 0 / 336.9 MB, free: 7.965 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.000572/0.215, allocations: 229.2 kB / 337.1 MB, free: 7.734 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.2151, allocations: 81.05 kB / 337.2 MB, free: 7.637 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.2154, allocations: 283.1 kB / 337.5 MB, free: 7.352 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.2154, allocations: 29.7 kB / 337.5 MB, free: 7.316 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.2156, allocations: 243.3 kB / 337.8 MB, free: 7.074 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.2157, allocations: 63.19 kB / 337.8 MB, free: 7.012 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.519e-05/0.2158, allocations: 57.94 kB / 337.9 MB, free: 6.949 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2159, allocations: 338.8 kB / 338.2 MB, free: 6.609 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.2161, allocations: 68.61 kB / 338.3 MB, free: 6.543 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.2163, allocations: 202.3 kB / 338.5 MB, free: 6.285 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.2168, allocations: 296.9 kB / 338.8 MB, free: 5.934 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.2168, allocations: 3.938 kB / 338.8 MB, free: 5.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005226/0.2173, allocations: 328.8 kB / 339.1 MB, free: 5.602 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2173, allocations: 8 kB / 339.1 MB, free: 5.594 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2174, allocations: 4 kB / 339.1 MB, free: 5.59 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.2174, allocations: 8 kB / 339.1 MB, free: 5.582 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.2177, allocations: 87.77 kB / 339.2 MB, free: 5.496 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.2177, allocations: 4.469 kB / 339.2 MB, free: 5.492 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.2179, allocations: 43.67 kB / 339.2 MB, free: 5.449 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.2179, allocations: 16 kB / 339.2 MB, free: 5.434 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.0001446/0.2181, allocations: 153.7 kB / 339.4 MB, free: 5.273 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.2182, allocations: 23.72 kB / 339.4 MB, free: 5.25 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.91e-05/0.2182, allocations: 29.73 kB / 339.4 MB, free: 5.219 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.2182, allocations: 7.938 kB / 339.5 MB, free: 5.211 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2183, allocations: 0 / 339.5 MB, free: 5.211 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2183, allocations: 0 / 339.5 MB, free: 5.211 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006407/0.2189, allocations: 0.5186 MB / 340 MB, free: 4.633 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.2189, allocations: 0 / 340 MB, free: 4.633 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.2191, allocations: 39.92 kB / 340 MB, free: 4.594 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2192, allocations: 4 kB / 340 MB, free: 4.59 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.2192, allocations: 3.984 kB / 340 MB, free: 4.586 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2192, allocations: 4 kB / 340 MB, free: 4.582 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2192, allocations: 4.031 kB / 340 MB, free: 4.578 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.2197, allocations: 419.2 kB / 340.4 MB, free: 4.148 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.2198, allocations: 101 kB / 340.5 MB, free: 4.031 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.2198, allocations: 8 kB / 340.5 MB, free: 4.023 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.22, allocations: 24.05 kB / 340.6 MB, free: 4 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.2201, allocations: 7.984 kB / 340.6 MB, free: 3.992 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.2201, allocations: 11.98 kB / 340.6 MB, free: 3.98 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.2203, allocations: 198 kB / 340.8 MB, free: 3.785 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2203, allocations: 0 / 340.8 MB, free: 3.785 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004338/0.2207, allocations: 79.78 kB / 340.9 MB, free: 3.707 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.0001603/0.2209, allocations: 111.2 kB / 341 MB, free: 3.59 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004108/0.2213, allocations: 200.5 kB / 341.2 MB, free: 3.395 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2213, allocations: 4.188 kB / 341.2 MB, free: 3.391 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.2215, allocations: 71.91 kB / 341.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.222, allocations: 39.72 kB / 341.3 MB, free: 3.285 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.223, allocations: 0.6482 MB / 341.9 MB, free: 2.609 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.2233, allocations: 0.7716 MB / 342.7 MB, free: 1.812 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.2234, allocations: 30.97 kB / 342.7 MB, free: 1.781 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.2235, allocations: 27.42 kB / 342.8 MB, free: 1.754 MB / 270.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2235, allocations: 0 / 342.8 MB, free: 1.754 MB / 270.1 MB Notification: Performance of Templates: time 0.006208/0.2297, allocations: 2.321 MB / 345.1 MB, free: 15.43 MB / 286.1 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)