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.00114/0.001141, 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.001832/0.001832, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01608/0.01608, allocations: 1.231 MB / 291.6 MB, free: 1.098 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.91 kB / 352.3 MB, free: 1.766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09172/0.09307, allocations: 49.71 MB / 402 MB, free: 20 kB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.2035/0.2966, allocations: 1.531 MB / 403.6 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.2984, allocations: 1.255 MB / 404.8 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.2985, allocations: 5.125 kB / 404.8 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005872/0.2991, allocations: 148.6 kB / 405 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006857/0.2998, allocations: 256.6 kB / 405.2 MB, free: 8.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.935e-06/0.2998, allocations: 0 / 405.2 MB, free: 8.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.3, allocations: 119.1 kB / 405.3 MB, free: 8.535 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.324e-05/0.3001, allocations: 9.609 kB / 405.3 MB, free: 8.531 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.3002, allocations: 55.91 kB / 405.4 MB, free: 8.504 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.3004, allocations: 68.27 kB / 405.5 MB, free: 8.473 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.3004, allocations: 4.375 kB / 405.5 MB, free: 8.473 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006803/0.3011, allocations: 405 kB / 405.9 MB, free: 8.328 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.921e-05/0.3012, allocations: 42.59 kB / 405.9 MB, free: 8.309 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.385e-05/0.3013, allocations: 50.03 kB / 406 MB, free: 8.277 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007982/0.3021, allocations: 338.4 kB / 406.3 MB, free: 8.164 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.3021, allocations: 0 / 406.3 MB, free: 8.164 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.3021, allocations: 0 / 406.3 MB, free: 8.164 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.3021, allocations: 0 / 406.3 MB, free: 8.164 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.001041/0.3032, allocations: 493 kB / 406.8 MB, free: 7.711 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.3032, allocations: 10.42 kB / 406.8 MB, free: 7.711 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.732e-05/0.3033, allocations: 20.91 kB / 406.8 MB, free: 7.699 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.3037, allocations: 241.8 kB / 407 MB, free: 7.465 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3038, allocations: 2.562 kB / 407 MB, free: 7.465 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.3038, allocations: 7.969 kB / 407 MB, free: 7.461 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.3041, allocations: 106 kB / 407.1 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3041, allocations: 0.75 kB / 407.1 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.3041, allocations: 4 kB / 407.2 MB, free: 7.406 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3041, allocations: 1.156 kB / 407.2 MB, free: 7.406 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.3044, allocations: 148.6 kB / 407.3 MB, free: 7.383 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.3048, allocations: 262.6 kB / 407.6 MB, free: 7.164 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.3052, allocations: 158.6 kB / 407.7 MB, free: 7.109 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.3053, allocations: 66.48 kB / 407.8 MB, free: 7.09 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.3054, allocations: 41.09 kB / 407.8 MB, free: 7.082 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3055, allocations: 39.78 kB / 407.9 MB, free: 7.035 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.754e-06/0.3055, allocations: 0 / 407.9 MB, free: 7.035 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.001981/0.3075, allocations: 441.1 kB / 408.3 MB, free: 6.844 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.3075, allocations: 51.41 kB / 408.3 MB, free: 6.781 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.3078, allocations: 218.4 kB / 408.5 MB, free: 6.645 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.3078, allocations: 33.7 kB / 408.6 MB, free: 6.605 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.3078, allocations: 111 kB / 408.7 MB, free: 6.504 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.3079, allocations: 29.94 kB / 408.7 MB, free: 6.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.3079, allocations: 28.7 kB / 408.7 MB, free: 6.457 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.308, allocations: 323.8 kB / 409.1 MB, free: 6.141 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.021e-05/0.3081, allocations: 61.11 kB / 409.1 MB, free: 6.129 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.612e-05/0.3081, allocations: 69.41 kB / 409.2 MB, free: 6.109 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.3083, allocations: 129 kB / 409.3 MB, free: 6.078 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3083, allocations: 5.094 kB / 409.3 MB, free: 6.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007231/0.3091, allocations: 235.1 kB / 409.6 MB, free: 5.992 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3091, allocations: 5.984 kB / 409.6 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3091, allocations: 0 / 409.6 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006989/0.3098, allocations: 73.97 kB / 409.6 MB, free: 5.977 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.3099, allocations: 16.03 kB / 409.6 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.3121, allocations: 1.55 MB / 411.2 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-05/0.3122, allocations: 11.23 kB / 411.2 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.3123, allocations: 3.891 kB / 411.2 MB, free: 4.5 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.3124, allocations: 133.2 kB / 411.3 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.3124, allocations: 15.45 kB / 411.4 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008172/0.3133, allocations: 267.9 kB / 411.6 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3133, allocations: 1.375 kB / 411.6 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.3133, allocations: 5.938 kB / 411.6 MB, free: 4.266 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3133, allocations: 1.031 kB / 411.6 MB, free: 4.266 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.3135, allocations: 250.6 kB / 411.9 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3135, allocations: 5.469 kB / 411.9 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.3135, allocations: 11.62 kB / 411.9 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005989/0.3141, allocations: 73.23 kB / 412 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.3142, allocations: 10.52 kB / 412 MB, free: 4.027 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.3158, allocations: 1.542 MB / 413.5 MB, free: 2.582 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3158, allocations: 0 / 413.5 MB, free: 2.582 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.3166, allocations: 277.8 kB / 413.8 MB, free: 2.449 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.3166, allocations: 95.88 kB / 413.9 MB, free: 2.344 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.3166, allocations: 2.266 kB / 413.9 MB, free: 2.344 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.942e-05/0.3167, allocations: 6 kB / 413.9 MB, free: 2.34 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.3167, allocations: 16.75 kB / 413.9 MB, free: 2.332 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3168, allocations: 4.094 kB / 413.9 MB, free: 2.332 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.3169, allocations: 164.2 kB / 414.1 MB, free: 2.23 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3169, allocations: 0 / 414.1 MB, free: 2.23 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004605/0.3174, allocations: 77.97 kB / 414.1 MB, free: 2.215 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002857/0.3177, allocations: 161 kB / 414.3 MB, free: 2.105 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005816/0.3183, allocations: 280.1 kB / 414.6 MB, free: 1.957 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.3183, allocations: 0 / 414.6 MB, free: 1.957 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.3186, allocations: 207.6 kB / 414.8 MB, free: 1.828 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.3189, allocations: 29.44 kB / 414.8 MB, free: 1.816 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.3224, allocations: 0.5653 MB / 415.4 MB, free: 1.613 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.3226, allocations: 0.7321 MB / 416.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.82e-05/0.3227, allocations: 19.77 kB / 416.1 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.3227, allocations: 13.91 kB / 416.1 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3227, allocations: 0 / 416.1 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of Templates: time 0.007334/0.33, allocations: 3.165 MB / 419.3 MB, free: 0.5 MB / 286.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile (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)