Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.conf.json 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/FluxTubesExtension 1.2.0-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/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) Running command: translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.006345/0.006345, allocations: 1.232 MB / 17.96 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 222.9 MB / 241.9 MB, free: 9.699 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009438/0.0009438, allocations: 108.5 kB / 292.4 MB, free: 9.805 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009697/0.0009697, allocations: 51.92 kB / 352.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2058, allocations: 49.7 MB / 402.6 MB, free: 31.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.00292/0.2088, allocations: 2.843 MB / 405.4 MB, free: 28.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.2105, allocations: 1.638 MB / 407 MB, free: 27.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.2106, allocations: 4 kB / 407 MB, free: 27.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005379/0.2112, allocations: 185.3 kB / 407.2 MB, free: 27.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.2113, allocations: 83.42 kB / 407.3 MB, free: 27.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.2118, allocations: 243.5 kB / 407.5 MB, free: 26.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003734/0.2122, allocations: 418.5 kB / 407.9 MB, free: 26.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.2123, allocations: 98.17 kB / 408 MB, free: 26.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.2124, allocations: 127.4 kB / 408.2 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.2126, allocations: 167.2 kB / 408.3 MB, free: 26.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.2127, allocations: 23.98 kB / 408.4 MB, free: 26.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.2129, allocations: 187.7 kB / 408.5 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.835e-05/0.213, allocations: 67.75 kB / 408.6 MB, free: 25.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.2131, allocations: 163.1 kB / 408.8 MB, free: 25.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.2135, allocations: 446.4 kB / 409.2 MB, free: 25.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2135, allocations: 0 / 409.2 MB, free: 25.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2135, allocations: 0 / 409.2 MB, free: 25.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.2135, allocations: 0 / 409.2 MB, free: 25.16 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008454/0.2143, allocations: 0.6584 MB / 409.9 MB, free: 24.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.2144, allocations: 8.031 kB / 409.9 MB, free: 24.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.2145, allocations: 44.47 kB / 409.9 MB, free: 24.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.2147, allocations: 282.6 kB / 410.2 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.2147, allocations: 20.94 kB / 410.2 MB, free: 24.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.2147, allocations: 24.38 kB / 410.2 MB, free: 24.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.2151, allocations: 277.2 kB / 410.5 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2152, allocations: 7.875 kB / 410.5 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.2152, allocations: 12 kB / 410.5 MB, free: 23.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2152, allocations: 11.98 kB / 410.5 MB, free: 23.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003758/0.2156, allocations: 242.1 kB / 410.8 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.2168, allocations: 1.072 MB / 411.8 MB, free: 22.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.2172, allocations: 248 kB / 412.1 MB, free: 22.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.2174, allocations: 128.8 kB / 412.2 MB, free: 21.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.2175, allocations: 20.06 kB / 412.2 MB, free: 21.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2175, allocations: 30.97 kB / 412.3 MB, free: 21.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.463e-06/0.2175, allocations: 4 kB / 412.3 MB, free: 21.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.003544/0.221, allocations: 1.62 MB / 413.9 MB, free: 20.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.2211, allocations: 59.41 kB / 413.9 MB, free: 20.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.2213, allocations: 286.9 kB / 414.2 MB, free: 19.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.2213, allocations: 29.7 kB / 414.2 MB, free: 19.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.2214, allocations: 200.1 kB / 414.4 MB, free: 19.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/0.2214, allocations: 114.3 kB / 414.6 MB, free: 19.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.649e-05/0.2215, allocations: 61.7 kB / 414.6 MB, free: 19.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.908e-05/0.2216, allocations: 346.7 kB / 415 MB, free: 19.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.2218, allocations: 127.9 kB / 415.1 MB, free: 18.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.222, allocations: 168.5 kB / 415.2 MB, free: 18.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/0.2224, allocations: 294.1 kB / 415.5 MB, free: 18.47 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2224, allocations: 4 kB / 415.5 MB, free: 18.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00132/0.2237, allocations: 0.6286 MB / 416.2 MB, free: 17.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2237, allocations: 7.938 kB / 416.2 MB, free: 17.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2238, allocations: 4 kB / 416.2 MB, free: 17.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002236/0.226, allocations: 0.5207 MB / 416.7 MB, free: 17.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.2262, allocations: 67.89 kB / 416.8 MB, free: 17.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005542/0.2268, allocations: 1.28 MB / 418 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.227, allocations: 12 kB / 418.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.227, allocations: 19.92 kB / 418.1 MB, free: 15.86 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.2272, allocations: 157.9 kB / 418.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.2272, allocations: 31.62 kB / 418.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.2285, allocations: 0.58 MB / 418.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2285, allocations: 4 kB / 418.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2285, allocations: 0 / 418.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2285, allocations: 7.984 kB / 418.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.2301, allocations: 1.06 MB / 419.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2301, allocations: 0 / 419.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.2303, allocations: 43.91 kB / 420 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002162/0.2325, allocations: 0.5247 MB / 420.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.2325, allocations: 7.984 kB / 420.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005076/0.233, allocations: 1.284 MB / 421.8 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2331, allocations: 4.031 kB / 421.8 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/0.249, allocations: 9.68 MB / 431.5 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.2491, allocations: 100.8 kB / 431.6 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.2491, allocations: 11.98 kB / 431.6 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.2493, allocations: 12 kB / 431.6 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.2493, allocations: 32.02 kB / 431.6 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.2494, allocations: 12 kB / 431.6 MB, free: 1.688 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.2495, allocations: 201.9 kB / 431.8 MB, free: 1.496 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2495, allocations: 0 / 431.8 MB, free: 1.496 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005669/0.2501, allocations: 143.9 kB / 432 MB, free: 1.355 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000156/0.2502, allocations: 139.1 kB / 432.1 MB, free: 1.207 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000587/0.2508, allocations: 320 kB / 432.4 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2509, allocations: 0 / 432.4 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.2512, allocations: 191.7 kB / 432.6 MB, free: 0.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.2515, allocations: 40.92 kB / 432.6 MB, free: 0.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.2536, allocations: 1.493 MB / 434.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.254, allocations: 0.8074 MB / 434.9 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.2541, allocations: 26.28 kB / 435 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.2542, allocations: 27.36 kB / 435 MB, free: 14.22 MB / 314.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2542, allocations: 0 / 435 MB, free: 14.22 MB / 314.7 MB Notification: Performance of Templates: time 0.008902/0.2631, allocations: 5.608 MB / 440.6 MB, free: 8.621 MB / 314.7 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1)