Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001557/0.001556, allocations: 181.9 kB / 7.453 MB, free: 1.555 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.491/1.491, allocations: 170.6 MB / 178.4 MB, free: 3.961 MB / 146.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002112/0.002112, allocations: 107.9 kB / 217.7 MB, free: 12.7 MB / 194.8 MB Notification: Performance of FrontEnd - loaded program: time 1.028e-05/1.038e-05, allocations: 0 / 261.7 MB, free: 17.14 MB / 194.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 38.76 MB / 300.5 MB, free: 10.32 MB / 226.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2978/0.4099, allocations: 66.93 MB / 367.4 MB, free: 1.469 MB / 258.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.4102, allocations: 66.34 kB / 367.5 MB, free: 1.434 MB / 258.8 MB Notification: Performance of FrontEnd: time 0.007976/0.4182, allocations: 2.311 MB / 369.8 MB, free: 15.54 MB / 274.8 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.4182, allocations: 4 kB / 369.8 MB, free: 15.54 MB / 274.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006179/0.4188, allocations: 416.4 kB / 370.2 MB, free: 15.09 MB / 274.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.4189, allocations: 8.031 kB / 370.2 MB, free: 15.09 MB / 274.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.419, allocations: 17.02 kB / 370.2 MB, free: 15.07 MB / 274.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.4192, allocations: 199.3 kB / 370.4 MB, free: 14.84 MB / 274.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.4192, allocations: 4 kB / 370.4 MB, free: 14.84 MB / 274.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.4192, allocations: 4 kB / 370.4 MB, free: 14.83 MB / 274.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001482/0.4194, allocations: 55.75 kB / 370.5 MB, free: 14.8 MB / 274.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.4196, allocations: 117.7 kB / 370.6 MB, free: 14.69 MB / 274.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4197, allocations: 3.938 kB / 370.6 MB, free: 14.69 MB / 274.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.4197, allocations: 0 / 370.6 MB, free: 14.69 MB / 274.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.4197, allocations: 4.875 kB / 370.6 MB, free: 14.68 MB / 274.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000987/0.4207, allocations: 478.9 kB / 371.1 MB, free: 14.23 MB / 274.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.421, allocations: 67.69 kB / 371.2 MB, free: 14.18 MB / 274.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.4212, allocations: 59.42 kB / 371.2 MB, free: 14.13 MB / 274.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.4212, allocations: 0 / 371.2 MB, free: 14.13 MB / 274.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.4213, allocations: 38.44 kB / 371.2 MB, free: 14.08 MB / 274.8 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.4213, allocations: 0 / 371.2 MB, free: 14.08 MB / 274.8 MB Notification: Performance of matching and sorting (n=7): time 0.0005213/0.4218, allocations: 112.6 kB / 371.4 MB, free: 13.98 MB / 274.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.4219, allocations: 110.5 kB / 371.5 MB, free: 13.85 MB / 274.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.422, allocations: 139.3 kB / 371.6 MB, free: 13.72 MB / 274.8 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.422, allocations: 25.7 kB / 371.6 MB, free: 13.69 MB / 274.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.4221, allocations: 106.4 kB / 371.7 MB, free: 13.58 MB / 274.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.4221, allocations: 31.23 kB / 371.8 MB, free: 13.55 MB / 274.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.4222, allocations: 0 / 371.8 MB, free: 13.55 MB / 274.8 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4223, allocations: 322.1 kB / 372.1 MB, free: 13.23 MB / 274.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.4223, allocations: 23.25 kB / 372.1 MB, free: 13.22 MB / 274.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.4224, allocations: 63.08 kB / 372.2 MB, free: 13.15 MB / 274.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.577e-05/0.4225, allocations: 30.44 kB / 372.2 MB, free: 13.13 MB / 274.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4225, allocations: 0 / 372.2 MB, free: 13.13 MB / 274.8 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003645/0.4229, allocations: 148.1 kB / 372.3 MB, free: 13 MB / 274.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4229, allocations: 7.438 kB / 372.3 MB, free: 13 MB / 274.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.4229, allocations: 0 / 372.3 MB, free: 13 MB / 274.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003252/0.4232, allocations: 52.12 kB / 372.4 MB, free: 12.95 MB / 274.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009601/0.4242, allocations: 139.9 kB / 372.5 MB, free: 12.81 MB / 274.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/0.427, allocations: 2.693 MB / 375.2 MB, free: 9.961 MB / 274.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.4272, allocations: 16.08 kB / 375.2 MB, free: 9.945 MB / 274.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.4273, allocations: 7.938 kB / 375.2 MB, free: 9.938 MB / 274.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.4274, allocations: 105 kB / 375.3 MB, free: 9.828 MB / 274.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.4274, allocations: 15.81 kB / 375.4 MB, free: 9.812 MB / 274.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/0.4278, allocations: 123.2 kB / 375.5 MB, free: 9.703 MB / 274.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4278, allocations: 7.984 kB / 375.5 MB, free: 9.695 MB / 274.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.4278, allocations: 0 / 375.5 MB, free: 9.695 MB / 274.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4278, allocations: 3.906 kB / 375.5 MB, free: 9.691 MB / 274.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006473/0.4285, allocations: 404.5 kB / 375.9 MB, free: 9.289 MB / 274.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4285, allocations: 0 / 375.9 MB, free: 9.289 MB / 274.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.4286, allocations: 23.55 kB / 375.9 MB, free: 9.27 MB / 274.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002768/0.4289, allocations: 56.28 kB / 376 MB, free: 9.215 MB / 274.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.4289, allocations: 0 / 376 MB, free: 9.215 MB / 274.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.4302, allocations: 1.305 MB / 377.3 MB, free: 7.84 MB / 274.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.4302, allocations: 4.031 kB / 377.3 MB, free: 7.836 MB / 274.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004319/0.4306, allocations: 262.5 kB / 377.5 MB, free: 7.582 MB / 274.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/0.4307, allocations: 104.2 kB / 377.6 MB, free: 7.465 MB / 274.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.4307, allocations: 0 / 377.6 MB, free: 7.465 MB / 274.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.4309, allocations: 11.98 kB / 377.6 MB, free: 7.453 MB / 274.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.431, allocations: 15.98 kB / 377.7 MB, free: 7.438 MB / 274.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.431, allocations: 8 kB / 377.7 MB, free: 7.43 MB / 274.8 MB Notification: Performance of sort global known variables: time 0.0001121/0.4311, allocations: 112.9 kB / 377.8 MB, free: 7.332 MB / 274.8 MB Notification: Performance of remove unused functions: time 0.0003149/0.4314, allocations: 39.91 kB / 377.8 MB, free: 7.293 MB / 274.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001563/0.4316, allocations: 95.25 kB / 377.9 MB, free: 7.191 MB / 274.8 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.433, allocations: 323.2 kB / 378.2 MB, free: 6.883 MB / 274.8 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4331, allocations: 4 kB / 378.2 MB, free: 6.879 MB / 274.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.4333, allocations: 140.4 kB / 378.4 MB, free: 6.742 MB / 274.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.4335, allocations: 7.375 kB / 378.4 MB, free: 6.738 MB / 274.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006462/0.4341, allocations: 281.8 kB / 378.7 MB, free: 6.441 MB / 274.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.4345, allocations: 0.731 MB / 379.4 MB, free: 5.688 MB / 274.8 MB Notification: Performance of SimCode: time 7.02e-07/0.4345, allocations: 4 kB / 379.4 MB, free: 5.684 MB / 274.8 MB Notification: Performance of Templates: time 0.004376/0.4389, allocations: 1.609 MB / 381 MB, free: 4.09 MB / 274.8 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1)