Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 100 kB / 15.05 MB, free: 1.105 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.001353/0.001354, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007341/0.007341, allocations: 1.226 MB / 292.2 MB, free: 1 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000559/0.0005593, allocations: 7.938 kB / 353.4 MB, free: 2.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3674, allocations: 50.67 MB / 404 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002018/0.3695, allocations: 1.213 MB / 405.2 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.3714, allocations: 1.123 MB / 406.4 MB, free: 9.078 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/0.3715, allocations: 1.125 kB / 406.4 MB, free: 9.078 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.372, allocations: 104.8 kB / 406.5 MB, free: 9.043 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005346/0.3725, allocations: 180.8 kB / 406.6 MB, free: 8.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.95e-06/0.3725, allocations: 0 / 406.6 MB, free: 8.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.3727, allocations: 68.48 kB / 406.7 MB, free: 8.969 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.053e-05/0.3727, allocations: 7.359 kB / 406.7 MB, free: 8.961 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.3728, allocations: 43.59 kB / 406.8 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.373, allocations: 58.72 kB / 406.8 MB, free: 8.922 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.373, allocations: 4.188 kB / 406.8 MB, free: 8.922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004854/0.3735, allocations: 257.9 kB / 407.1 MB, free: 8.859 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.484e-05/0.3736, allocations: 31.92 kB / 407.1 MB, free: 8.852 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.3736, allocations: 41.7 kB / 407.1 MB, free: 8.812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.3739, allocations: 197.3 kB / 407.3 MB, free: 8.777 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.3739, allocations: 0 / 407.3 MB, free: 8.777 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3739, allocations: 0 / 407.3 MB, free: 8.777 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3739, allocations: 1.094 kB / 407.3 MB, free: 8.777 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006141/0.3746, allocations: 477.5 kB / 407.8 MB, free: 8.328 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3746, allocations: 9.062 kB / 407.8 MB, free: 8.328 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.3747, allocations: 14.94 kB / 407.8 MB, free: 8.32 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.375, allocations: 231.1 kB / 408.1 MB, free: 8.102 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.375, allocations: 3.375 kB / 408.1 MB, free: 8.102 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.375, allocations: 2.344 kB / 408.1 MB, free: 8.102 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.3752, allocations: 106.5 kB / 408.2 MB, free: 8.051 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3752, allocations: 3.938 kB / 408.2 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3752, allocations: 1.031 kB / 408.2 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3753, allocations: 8.953 kB / 408.2 MB, free: 8.039 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.3755, allocations: 142.5 kB / 408.3 MB, free: 8.02 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.3758, allocations: 262.4 kB / 408.6 MB, free: 7.801 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.3761, allocations: 152.8 kB / 408.7 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.034e-05/0.3761, allocations: 36.84 kB / 408.8 MB, free: 7.746 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.3762, allocations: 37.03 kB / 408.8 MB, free: 7.703 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.3762, allocations: 0 / 408.8 MB, free: 7.703 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.001775/0.378, allocations: 436.6 kB / 409.2 MB, free: 7.512 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.378, allocations: 61.5 kB / 409.3 MB, free: 7.441 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.3782, allocations: 217.8 kB / 409.5 MB, free: 7.305 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.3783, allocations: 25.7 kB / 409.5 MB, free: 7.273 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.3783, allocations: 119.3 kB / 409.6 MB, free: 7.164 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.3784, allocations: 31.03 kB / 409.7 MB, free: 7.141 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.3784, allocations: 0 / 409.7 MB, free: 7.141 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3785, allocations: 326.6 kB / 410 MB, free: 6.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.3786, allocations: 60.53 kB / 410 MB, free: 6.809 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.585e-05/0.3787, allocations: 65.31 kB / 410.1 MB, free: 6.793 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.3788, allocations: 61.58 kB / 410.2 MB, free: 6.781 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3789, allocations: 0 / 410.2 MB, free: 6.781 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007729/0.3796, allocations: 237 kB / 410.4 MB, free: 6.699 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.3797, allocations: 11.33 kB / 410.4 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3797, allocations: 4 kB / 410.4 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000839/0.3805, allocations: 70.55 kB / 410.5 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.3807, allocations: 12.81 kB / 410.5 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.3827, allocations: 1.442 MB / 411.9 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.3828, allocations: 7.641 kB / 411.9 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.3828, allocations: 4.219 kB / 411.9 MB, free: 5.32 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.3829, allocations: 122.2 kB / 412.1 MB, free: 5.203 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.383, allocations: 24.02 kB / 412.1 MB, free: 5.188 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009625/0.3839, allocations: 272.8 kB / 412.4 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3839, allocations: 1.344 kB / 412.4 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.384, allocations: 1.984 kB / 412.4 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.384, allocations: 3.938 kB / 412.4 MB, free: 5.086 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.3842, allocations: 260.6 kB / 412.6 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3842, allocations: 4 kB / 412.6 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.3843, allocations: 20.92 kB / 412.6 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006198/0.3849, allocations: 69.25 kB / 412.7 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3849, allocations: 3.438 kB / 412.7 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.3865, allocations: 1.438 MB / 414.2 MB, free: 3.5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3865, allocations: 0.6094 kB / 414.2 MB, free: 3.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000769/0.3873, allocations: 266.8 kB / 414.4 MB, free: 3.379 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.3873, allocations: 91.11 kB / 414.5 MB, free: 3.277 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.3873, allocations: 9.094 kB / 414.5 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.167e-05/0.3874, allocations: 2.203 kB / 414.5 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.3875, allocations: 9.609 kB / 414.5 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.3875, allocations: 4.062 kB / 414.5 MB, free: 3.27 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.3876, allocations: 167 kB / 414.7 MB, free: 3.164 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3876, allocations: 4 kB / 414.7 MB, free: 3.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004495/0.3881, allocations: 79.64 kB / 414.8 MB, free: 3.141 MB / 286.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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002501/0.3884, allocations: 159.4 kB / 414.9 MB, free: 3.023 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005701/0.3889, allocations: 263.5 kB / 415.2 MB, free: 2.887 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3889, allocations: 0 / 415.2 MB, free: 2.887 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.3893, allocations: 204.5 kB / 415.4 MB, free: 2.758 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.3895, allocations: 29.41 kB / 415.4 MB, free: 2.742 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.3929, allocations: 0.5986 MB / 416 MB, free: 2.508 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.3931, allocations: 0.7242 MB / 416.7 MB, free: 1.809 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.78e-05/0.3932, allocations: 19.16 kB / 416.8 MB, free: 1.805 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.3933, allocations: 19.02 kB / 416.8 MB, free: 1.793 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3933, allocations: 0 / 416.8 MB, free: 1.793 MB / 286.1 MB Notification: Performance of Templates: time 0.007771/0.401, allocations: 2.96 MB / 419.7 MB, free: 1.562 MB / 286.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile Environment - environmentSimulation: (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) Environment - environmentSimulation: