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.001215/0.001215, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.001171/0.001171, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007982/0.007982, allocations: 1.231 MB / 292.3 MB, free: 13.74 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 55.91 kB / 353 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3133, allocations: 49.69 MB / 402.7 MB, free: 35.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.006087/0.3194, allocations: 2.976 MB / 405.7 MB, free: 32.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.3225, allocations: 1.398 MB / 407.1 MB, free: 31.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004873/0.3231, allocations: 11.88 kB / 407.1 MB, free: 31.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008228/0.3239, allocations: 149.2 kB / 407.2 MB, free: 31.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007236/0.3247, allocations: 115.1 kB / 407.3 MB, free: 30.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.3258, allocations: 270.2 kB / 407.6 MB, free: 30.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007673/0.3266, allocations: 434.2 kB / 408 MB, free: 30.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003128/0.3269, allocations: 147.2 kB / 408.2 MB, free: 30.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.3273, allocations: 175.3 kB / 408.3 MB, free: 29.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.3277, allocations: 183.2 kB / 408.5 MB, free: 29.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.853e-05/0.3278, allocations: 36 kB / 408.6 MB, free: 29.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000485/0.3283, allocations: 207.6 kB / 408.8 MB, free: 29.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.3284, allocations: 91.67 kB / 408.8 MB, free: 29.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.3287, allocations: 194.9 kB / 409 MB, free: 29.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007339/0.3295, allocations: 0.5255 MB / 409.6 MB, free: 28.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3295, allocations: 4 kB / 409.6 MB, free: 28.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3295, allocations: 0 / 409.6 MB, free: 28.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.3295, allocations: 0 / 409.6 MB, free: 28.69 MB / 302.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.001539/0.3311, allocations: 0.7014 MB / 410.3 MB, free: 27.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3311, allocations: 8.031 kB / 410.3 MB, free: 27.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.3313, allocations: 40.47 kB / 410.3 MB, free: 27.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.3317, allocations: 320 kB / 410.6 MB, free: 27.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.3318, allocations: 25.03 kB / 410.7 MB, free: 27.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.3318, allocations: 28.38 kB / 410.7 MB, free: 27.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/0.3326, allocations: 306.3 kB / 411 MB, free: 27.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.3326, allocations: 3.938 kB / 411 MB, free: 27.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.3326, allocations: 16 kB / 411 MB, free: 27.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.3327, allocations: 8 kB / 411 MB, free: 27.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007991/0.3335, allocations: 274.4 kB / 411.3 MB, free: 26.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.3356, allocations: 1.182 MB / 412.5 MB, free: 25.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/0.3361, allocations: 194.5 kB / 412.6 MB, free: 25.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.3364, allocations: 84.91 kB / 412.7 MB, free: 25.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.513e-05/0.3365, allocations: 19.92 kB / 412.7 MB, free: 25.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.3365, allocations: 34.56 kB / 412.8 MB, free: 25.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 2.394e-06/0.3365, allocations: 0 / 412.8 MB, free: 25.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.003806/0.3403, allocations: 0.8894 MB / 413.7 MB, free: 24.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.3404, allocations: 55.64 kB / 413.7 MB, free: 24.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.3408, allocations: 324.3 kB / 414 MB, free: 23.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3408, allocations: 33.7 kB / 414.1 MB, free: 23.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.341, allocations: 239.5 kB / 414.3 MB, free: 23.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.182e-05/0.3411, allocations: 94.66 kB / 414.4 MB, free: 23.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.3412, allocations: 73.97 kB / 414.5 MB, free: 23.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.276e-05/0.3413, allocations: 342.8 kB / 414.8 MB, free: 23.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.3418, allocations: 116.7 kB / 414.9 MB, free: 23.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.3422, allocations: 221.2 kB / 415.1 MB, free: 22.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009615/0.3432, allocations: 348.7 kB / 415.5 MB, free: 22.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3432, allocations: 0 / 415.5 MB, free: 22.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001961/0.3452, allocations: 0.6066 MB / 416.1 MB, free: 21.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.3453, allocations: 4 kB / 416.1 MB, free: 21.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3453, allocations: 7.938 kB / 416.1 MB, free: 21.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/0.3478, allocations: 0.8256 MB / 416.9 MB, free: 20.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004833/0.3483, allocations: 67.89 kB / 417 MB, free: 20.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007931/0.3491, allocations: 1.175 MB / 418.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.3496, allocations: 23.98 kB / 418.2 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.3497, allocations: 19.92 kB / 418.2 MB, free: 19.62 MB / 302.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.0002256/0.3499, allocations: 158.1 kB / 418.4 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.35, allocations: 35.62 kB / 418.4 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.3516, allocations: 0.5199 MB / 418.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3517, allocations: 4 kB / 418.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.3517, allocations: 0 / 418.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3517, allocations: 0 / 418.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.3522, allocations: 381.3 kB / 419.3 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3522, allocations: 4.125 kB / 419.3 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.3525, allocations: 43.91 kB / 419.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002108/0.3546, allocations: 0.8151 MB / 420.2 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.3547, allocations: 4 kB / 420.2 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006782/0.3554, allocations: 1.175 MB / 421.3 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3554, allocations: 0 / 421.3 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.3569, allocations: 0.6006 MB / 421.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.357, allocations: 104.7 kB / 422 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/0.3571, allocations: 0 / 422 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.3574, allocations: 27.97 kB / 422.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/0.3575, allocations: 15.92 kB / 422.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.3576, allocations: 11.98 kB / 422.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000269/0.3578, allocations: 223.1 kB / 422.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3578, allocations: 0 / 422.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006528/0.3585, allocations: 99.94 kB / 422.4 MB, free: 15.26 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.0002659/0.3588, allocations: 144.2 kB / 422.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.36, allocations: 324.2 kB / 422.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.36, allocations: 8.188 kB / 422.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006237/0.3607, allocations: 175.8 kB / 423 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000592/0.3613, allocations: 36.06 kB / 423.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.3628, allocations: 0.6722 MB / 423.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.3631, allocations: 0.7912 MB / 424.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.3632, allocations: 27.44 kB / 424.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3632, allocations: 4 kB / 424.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of Templates: time 0.01065/0.3738, allocations: 7.008 MB / 431.6 MB, free: 6.012 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.makefile (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)