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.005692/0.005692, allocations: 169.6 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.006165/0.006165, allocations: 1.229 MB / 17.08 MB, free: 4.879 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.276/1.276, allocations: 223.2 MB / 241.3 MB, free: 8.758 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.0008795/0.0008796, allocations: 102.8 kB / 292.7 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 12 kB / 353.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2498, allocations: 50.68 MB / 404.6 MB, free: 30.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.109/0.3589, allocations: 84.41 MB / 489 MB, free: 10.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.3592, allocations: 72.81 kB / 489 MB, free: 10.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03218/0.3914, allocations: 11.29 MB / 0.4886 GB, free: 15.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3915, allocations: 4 kB / 0.4886 GB, free: 15.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.887e-05/0.3915, allocations: 4 kB / 0.4886 GB, free: 15 MB / 378.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.00126/0.3928, allocations: 0.6037 MB / 0.4892 GB, free: 14.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3928, allocations: 8.031 kB / 0.4892 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.393, allocations: 35.62 kB / 0.4892 GB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.3934, allocations: 281.4 kB / 0.4895 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.3934, allocations: 20.56 kB / 0.4895 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.737e-05/0.3935, allocations: 32 kB / 0.4896 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/0.3941, allocations: 272.8 kB / 0.4898 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3941, allocations: 0 / 0.4898 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.3942, allocations: 16 kB / 0.4898 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.3942, allocations: 4 kB / 0.4898 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005235/0.3947, allocations: 266.1 kB / 0.4901 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.3966, allocations: 1.103 MB / 0.4912 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.3971, allocations: 269.4 kB / 0.4914 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.781e-05/0.3972, allocations: 20.03 kB / 0.4915 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.3973, allocations: 34.56 kB / 0.4915 GB, free: 11.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 1.804e-06/0.3973, allocations: 0 / 0.4915 GB, free: 11.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.004766/0.402, allocations: 1.631 MB / 0.4931 GB, free: 10.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.4021, allocations: 59.39 kB / 0.4931 GB, free: 10.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.4024, allocations: 242.2 kB / 0.4934 GB, free: 9.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.4025, allocations: 33.7 kB / 0.4934 GB, free: 9.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.4026, allocations: 192.2 kB / 0.4936 GB, free: 9.621 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.4028, allocations: 122.3 kB / 0.4937 GB, free: 9.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/0.4028, allocations: 8 kB / 0.4937 GB, free: 9.492 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4029, allocations: 342.8 kB / 0.494 GB, free: 9.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.4032, allocations: 131.8 kB / 0.4942 GB, free: 9.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.4035, allocations: 172.5 kB / 0.4943 GB, free: 8.832 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.4038, allocations: 145.6 kB / 0.4945 GB, free: 8.691 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4038, allocations: 0 / 0.4945 GB, free: 8.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001844/0.4057, allocations: 0.6595 MB / 0.4951 GB, free: 8.023 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.4057, allocations: 8 kB / 0.4951 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4057, allocations: 0 / 0.4951 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002953/0.4087, allocations: 0.5402 MB / 0.4956 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.409, allocations: 63.91 kB / 0.4957 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.4101, allocations: 1.3 MB / 0.497 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.4104, allocations: 12.03 kB / 0.497 GB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/0.4105, allocations: 19.98 kB / 0.497 GB, free: 6.023 MB / 378.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 (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 8,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002386/0.4107, allocations: 149.8 kB / 0.4971 GB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.822e-05/0.4108, allocations: 31.62 kB / 0.4972 GB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.4126, allocations: 0.6112 MB / 0.4978 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.4127, allocations: 4 kB / 0.4978 GB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4127, allocations: 0 / 0.4978 GB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4127, allocations: 3.984 kB / 0.4978 GB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/0.4132, allocations: 409.3 kB / 0.4982 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.4133, allocations: 0 / 0.4982 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.4135, allocations: 39.97 kB / 0.4982 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002896/0.4164, allocations: 0.5441 MB / 0.4987 GB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.4164, allocations: 8 kB / 0.4987 GB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009508/0.4174, allocations: 1.308 MB / 0.5 GB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4174, allocations: 0 / 0.5 GB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.4194, allocations: 0.8448 MB / 0.5008 GB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.4195, allocations: 108.8 kB / 0.501 GB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.4196, allocations: 8 kB / 0.501 GB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.4198, allocations: 16.02 kB / 0.501 GB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.4199, allocations: 19.97 kB / 0.501 GB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.4199, allocations: 15.98 kB / 0.501 GB, free: 1.746 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002226/0.4201, allocations: 201.9 kB / 0.5012 GB, free: 1.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4201, allocations: 0 / 0.5012 GB, free: 1.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004799/0.4206, allocations: 103.9 kB / 0.5013 GB, free: 1.449 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 8,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003214/0.421, allocations: 163.1 kB / 0.5015 GB, free: 1.285 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00079/0.4218, allocations: 339.5 kB / 0.5018 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4218, allocations: 0 / 0.5018 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004242/0.4222, allocations: 175.8 kB / 0.5019 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.4225, allocations: 32.8 kB / 0.502 GB, free: 0.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.185/0.6075, allocations: 0.894 MB / 0.5029 GB, free: 99.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.608, allocations: 0.7929 MB / 0.5036 GB, free: 98.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001981/0.6082, allocations: 21.81 kB / 0.5036 GB, free: 98.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.6083, allocations: 19.95 kB / 0.5037 GB, free: 98.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.605e-06/0.6083, allocations: 0.75 kB / 0.5037 GB, free: 98.32 MB / 378.7 MB Notification: Performance of Templates: time 0.01074/0.619, allocations: 3.786 MB / 0.5074 GB, free: 98.22 MB / 378.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)