Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.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 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) Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/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 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(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") translateModel(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008784/0.0008785, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007165/0.007165, allocations: 169.5 kB / 16.27 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.006759/0.006759, allocations: 1.226 MB / 292.7 MB, free: 0.9766 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003649, allocations: 15.94 kB / 354.1 MB, free: 1.934 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3274, allocations: 50.67 MB / 404.7 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.003944/0.3314, allocations: 2.648 MB / 407.4 MB, free: 9.047 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.3338, allocations: 1.386 MB / 408.8 MB, free: 8.066 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.334, allocations: 8.531 kB / 408.8 MB, free: 8.062 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.3346, allocations: 134.8 kB / 408.9 MB, free: 8.008 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.3349, allocations: 99.39 kB / 409 MB, free: 7.945 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006945/0.3356, allocations: 228.5 kB / 409.2 MB, free: 7.828 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005479/0.3362, allocations: 456.2 kB / 409.7 MB, free: 7.617 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002774/0.3365, allocations: 116.6 kB / 409.8 MB, free: 7.551 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.3368, allocations: 154.6 kB / 410 MB, free: 7.48 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.337, allocations: 172.9 kB / 410.1 MB, free: 7.398 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/0.3371, allocations: 18.97 kB / 410.1 MB, free: 7.398 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003877/0.3375, allocations: 205 kB / 410.3 MB, free: 7.336 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.3376, allocations: 78.28 kB / 410.4 MB, free: 7.293 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.3378, allocations: 205.2 kB / 410.6 MB, free: 7.152 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006859/0.3385, allocations: 0.512 MB / 411.1 MB, free: 6.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3385, allocations: 0 / 411.1 MB, free: 6.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3385, allocations: 0 / 411.1 MB, free: 6.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.3386, allocations: 1.406 kB / 411.1 MB, free: 6.98 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001153/0.3397, allocations: 0.6444 MB / 411.8 MB, free: 6.473 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3398, allocations: 18.61 kB / 411.8 MB, free: 6.465 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.73e-05/0.3398, allocations: 40.59 kB / 411.8 MB, free: 6.445 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.3402, allocations: 321.9 kB / 412.1 MB, free: 6.164 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.3403, allocations: 25.84 kB / 412.2 MB, free: 6.152 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.904e-05/0.3403, allocations: 28.97 kB / 412.2 MB, free: 6.145 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/0.341, allocations: 314 kB / 412.5 MB, free: 6.016 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3411, allocations: 5.062 kB / 412.5 MB, free: 6.012 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.3411, allocations: 10.22 kB / 412.5 MB, free: 6.004 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.3411, allocations: 8.625 kB / 412.5 MB, free: 6.004 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007255/0.3418, allocations: 299.5 kB / 412.8 MB, free: 5.914 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.3439, allocations: 1.178 MB / 414 MB, free: 5.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.3444, allocations: 205.4 kB / 414.2 MB, free: 5.012 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.3447, allocations: 88.11 kB / 414.3 MB, free: 4.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.062e-05/0.3447, allocations: 22.3 kB / 414.3 MB, free: 4.969 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.3448, allocations: 32.64 kB / 414.3 MB, free: 4.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 2.985e-06/0.3448, allocations: 0 / 414.3 MB, free: 4.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.003329/0.3481, allocations: 0.9781 MB / 415.3 MB, free: 4.633 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.3482, allocations: 54.58 kB / 415.4 MB, free: 4.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.3486, allocations: 319.4 kB / 415.7 MB, free: 4.398 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.3486, allocations: 31.5 kB / 415.7 MB, free: 4.363 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.3488, allocations: 239.7 kB / 415.9 MB, free: 4.16 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.475e-05/0.3489, allocations: 94.59 kB / 416 MB, free: 4.086 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/0.3489, allocations: 40.45 kB / 416.1 MB, free: 4.055 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.349, allocations: 339.5 kB / 416.4 MB, free: 3.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.3494, allocations: 131.6 kB / 416.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.3498, allocations: 231.2 kB / 416.8 MB, free: 3.535 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006984/0.3505, allocations: 374.1 kB / 417.1 MB, free: 3.316 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3505, allocations: 1.312 kB / 417.1 MB, free: 3.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001424/0.352, allocations: 0.6292 MB / 417.8 MB, free: 3.105 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.352, allocations: 8.094 kB / 417.8 MB, free: 3.105 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.352, allocations: 4.125 kB / 417.8 MB, free: 3.105 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/0.3542, allocations: 0.8185 MB / 418.6 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.3545, allocations: 83.89 kB / 418.7 MB, free: 3.012 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005766/0.3551, allocations: 1.171 MB / 419.8 MB, free: 1.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.3554, allocations: 33.56 kB / 419.9 MB, free: 1.898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.3554, allocations: 17.19 kB / 419.9 MB, free: 1.895 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.3556, allocations: 158.6 kB / 420.1 MB, free: 1.75 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.3556, allocations: 30.7 kB / 420.1 MB, free: 1.734 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.357, allocations: 0.5501 MB / 420.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.357, allocations: 2.469 kB / 420.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.357, allocations: 3.984 kB / 420.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.357, allocations: 2.266 kB / 420.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.3575, allocations: 376.9 kB / 421 MB, free: 1.277 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3575, allocations: 0 / 421 MB, free: 1.277 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.3577, allocations: 55 kB / 421.1 MB, free: 1.266 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.3596, allocations: 0.8148 MB / 421.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.3596, allocations: 9.375 kB / 421.9 MB, free: 1.121 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005373/0.3601, allocations: 1.175 MB / 423.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3601, allocations: 0 / 423.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.3615, allocations: 0.6092 MB / 423.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.952e-05/0.3616, allocations: 101.1 kB / 423.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/0.3616, allocations: 9.016 kB / 423.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.3619, allocations: 25.33 kB / 423.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.362, allocations: 24.69 kB / 423.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.362, allocations: 5.312 kB / 423.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002686/0.3623, allocations: 223.2 kB / 424 MB, free: 15.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3623, allocations: 0 / 424 MB, free: 15.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005259/0.3628, allocations: 104.9 kB / 424.2 MB, free: 15.31 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (19): * 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: 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,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002309/0.363, allocations: 143.2 kB / 424.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009144/0.364, allocations: 331.7 kB / 424.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.364, allocations: 0 / 424.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004785/0.3645, allocations: 187.1 kB / 424.8 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.3649, allocations: 35.92 kB / 424.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.3661, allocations: 0.8064 MB / 425.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.3665, allocations: 0.7929 MB / 426.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.3666, allocations: 39.92 kB / 426.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.3667, allocations: 27.89 kB / 426.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3667, allocations: 0 / 426.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of Templates: time 0.007742/0.3744, allocations: 3.587 MB / 430.1 MB, free: 11.83 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.makefile Environment - environmentSimulation: (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1) Environment - environmentSimulation: