Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 114 kB / 17.06 MB, free: 5.973 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.001166/0.001166, allocations: 198.9 kB / 18.01 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 55.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1122, allocations: 46.61 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.224/0.3363, allocations: 7.762 MB / 382.2 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005749/0.3421, allocations: 3.039 MB / 385.3 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.3432, allocations: 29.06 kB / 385.3 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.3462, allocations: 1.328 MB / 386.6 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.3487, allocations: 0.8035 MB / 387.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.3514, allocations: 1.302 MB / 388.7 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00318/0.3546, allocations: 1.678 MB / 390.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.357, allocations: 1.293 MB / 391.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.3582, allocations: 0.6563 MB / 392.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.3593, allocations: 0.7951 MB / 393.2 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002722/0.3596, allocations: 165.2 kB / 393.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.361, allocations: 479.8 kB / 393.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002951/0.3613, allocations: 377.5 kB / 394.2 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000676/0.362, allocations: 0.7874 MB / 394.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003361/0.3653, allocations: 2.252 MB / 397.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.3654, allocations: 0 / 397.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.349e-06/0.3654, allocations: 8.547 kB / 397.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.934e-05/0.3654, allocations: 1.125 kB / 397.2 MB, free: 1.57 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.005974/0.3714, allocations: 2.149 MB / 399.4 MB, free: 364 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3715, allocations: 9.844 kB / 399.4 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004077/0.3755, allocations: 0.6203 MB / 400 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.3773, allocations: 0.844 MB / 400.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.3775, allocations: 143 kB / 401 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/0.3778, allocations: 161.5 kB / 401.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002869/0.3807, allocations: 1.356 MB / 402.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-05/0.3807, allocations: 6.609 kB / 402.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.3809, allocations: 60.12 kB / 402.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-05/0.3809, allocations: 35.53 kB / 402.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/0.3838, allocations: 1.342 MB / 403.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00895/0.3928, allocations: 4.938 MB / 408.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003465/0.3963, allocations: 2.448 MB / 411.3 MB, free: 8.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.3976, allocations: 0.5851 MB / 411.9 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.3978, allocations: 112.4 kB / 412 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001455/0.3992, allocations: 0.7372 MB / 412.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=134): time 3.747e-06/0.3992, allocations: 0 / 412.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=168): time 0.01476/0.414, allocations: 5.558 MB / 418.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.4142, allocations: 158.4 kB / 418.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009087/0.4151, allocations: 0.6174 MB / 419.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.4152, allocations: 57.7 kB / 419.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/0.4157, allocations: 0.5817 MB / 419.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004881/0.4162, allocations: 0.5467 MB / 420.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004367/0.4166, allocations: 291.5 kB / 420.5 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4168, allocations: 345.9 kB / 420.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.4179, allocations: 0.5076 MB / 421.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.4192, allocations: 0.8885 MB / 422.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/0.4218, allocations: 1.48 MB / 423.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.4218, allocations: 4 kB / 423.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00453/0.4263, allocations: 2.062 MB / 425.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.4264, allocations: 12 kB / 425.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.4264, allocations: 8 kB / 425.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/0.4284, allocations: 0.5223 MB / 426.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.4296, allocations: 308.5 kB / 426.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/0.4405, allocations: 9.516 MB / 436.2 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.4421, allocations: 76.03 kB / 436.3 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002926/0.4424, allocations: 71.98 kB / 436.3 MB, free: 200 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWavePermabilitySensor.harmonicFlux.mean2.y,$PRE.fundamentalWavePermabilitySensor.harmonicFlux.mean2.y,fundamentalWavePermabilitySensor.harmonicFlux.mean1.y,$PRE.fundamentalWavePermabilitySensor.harmonicFlux.mean1.y,fundamentalWavePermabilitySensor.harmonicPotential.mean2.y,$PRE.fundamentalWavePermabilitySensor.harmonicPotential.mean2.y,fundamentalWavePermabilitySensor.harmonicPotential.mean1.y,$PRE.fundamentalWavePermabilitySensor.harmonicPotential.mean1.y,rootMeanSquare.mean2.y,$PRE.rootMeanSquare.mean2.y,rootMeanSquare.mean1.y,$PRE.rootMeanSquare.mean1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,9,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0009276/0.4433, allocations: 365.3 kB / 436.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.4436, allocations: 106.7 kB / 436.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004461/0.4481, allocations: 1.918 MB / 438.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.4481, allocations: 16 kB / 438.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.4481, allocations: 8 kB / 438.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.4482, allocations: 7.969 kB / 438.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007178/0.4553, allocations: 3.534 MB / 442.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.4554, allocations: 7.938 kB / 442.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.4564, allocations: 211.7 kB / 442.5 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/0.4583, allocations: 0.496 MB / 443 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.4584, allocations: 35.98 kB / 443 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009753/0.4682, allocations: 9.133 MB / 452.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4682, allocations: 4 kB / 452.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006143/0.4744, allocations: 2.663 MB / 454.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000662/0.4751, allocations: 287.6 kB / 455.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/0.4753, allocations: 39.98 kB / 455.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008717/0.4762, allocations: 63.91 kB / 455.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003461/0.4766, allocations: 133.1 kB / 455.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.4767, allocations: 55.91 kB / 455.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006034/0.4773, allocations: 423.1 kB / 455.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4773, allocations: 0 / 455.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00189/0.4792, allocations: 424 kB / 456.2 MB, free: 11.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (coil.i,fundamentalWavePermabilitySensor.harmonicPotential.mean1.x,fundamentalWavePermabilitySensor.harmonicPotential.mean2.x,fundamentalWavePermabilitySensor.harmonicFlux.mean1.x,fundamentalWavePermabilitySensor.harmonicFlux.mean2.x,rootMeanSquare.mean1.x,rootMeanSquare.mean2.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWavePermabilitySensor.harmonicPotential.mean1.y,fundamentalWavePermabilitySensor.harmonicPotential.mean2.y,fundamentalWavePermabilitySensor.harmonicFlux.mean1.y,fundamentalWavePermabilitySensor.harmonicFlux.mean2.y,rootMeanSquare.mean1.y,rootMeanSquare.mean2.y) * Number of discrete states: 6 (fundamentalWavePermabilitySensor.harmonicPotential.mean1.x,fundamentalWavePermabilitySensor.harmonicPotential.mean2.x,fundamentalWavePermabilitySensor.harmonicFlux.mean1.x,fundamentalWavePermabilitySensor.harmonicFlux.mean2.x,rootMeanSquare.mean1.x,rootMeanSquare.mean2.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,19,100.0%), (1,9,100.0%), (2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004267/0.4796, allocations: 212.4 kB / 456.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004174/0.4838, allocations: 2.108 MB / 458.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4838, allocations: 0 / 458.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002508/0.4864, allocations: 1.425 MB / 459.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.4874, allocations: 124.2 kB / 460.1 MB, free: 7.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005896/0.4933, allocations: 2.759 MB / 462.8 MB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.4944, allocations: 1.193 MB / 464 MB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008322/0.4952, allocations: 173.1 kB / 464.2 MB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/0.4955, allocations: 83.41 kB / 464.3 MB, free: 3.281 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4956, allocations: 0 / 464.3 MB, free: 3.281 MB / 382.1 MB Notification: Performance of Templates: time 0.03387/0.5294, allocations: 18.12 MB / 482.4 MB, free: 1.129 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe 2>&1)