Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001225, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.001387/0.001387, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.398/1.398, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0006669/0.000667, allocations: 12 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1116, allocations: 47.59 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003736/0.1154, allocations: 2.347 MB / 330.7 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.1173, allocations: 0.8462 MB / 331.5 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.1175, allocations: 8 kB / 331.5 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.1178, allocations: 47.67 kB / 331.6 MB, free: 496 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.1182, allocations: 87.38 kB / 331.6 MB, free: 408 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.1185, allocations: 87.84 kB / 331.7 MB, free: 320 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005484/0.1191, allocations: 338.7 kB / 332.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.1193, allocations: 98.09 kB / 332.2 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.1196, allocations: 115.5 kB / 332.3 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.1198, allocations: 131.4 kB / 332.4 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.332e-05/0.1199, allocations: 16 kB / 332.4 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.319e-05/0.12, allocations: 16 kB / 332.4 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.08e-05/0.1201, allocations: 51.7 kB / 332.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.1202, allocations: 168.9 kB / 332.6 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.1207, allocations: 338.9 kB / 333 MB, free: 15.06 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1207, allocations: 4 kB / 333 MB, free: 15.06 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1207, allocations: 0 / 333 MB, free: 15.06 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1207, allocations: 0 / 333 MB, free: 15.06 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001241/0.122, allocations: 0.5497 MB / 333.5 MB, free: 14.46 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.122, allocations: 12.03 kB / 333.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.1221, allocations: 40.45 kB / 333.6 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.1225, allocations: 259.4 kB / 333.8 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/0.1226, allocations: 24.88 kB / 333.9 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.1226, allocations: 24.38 kB / 333.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.1233, allocations: 261.2 kB / 334.1 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1234, allocations: 0 / 334.1 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.416e-05/0.1234, allocations: 12 kB / 334.2 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.1234, allocations: 8 kB / 334.2 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000704/0.1241, allocations: 222.1 kB / 334.4 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.1264, allocations: 1.013 MB / 335.4 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/0.127, allocations: 214.5 kB / 335.6 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.1274, allocations: 104.9 kB / 335.7 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.1274, allocations: 3.938 kB / 335.7 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.1275, allocations: 42.55 kB / 335.7 MB, free: 12.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 2.164e-06/0.1275, allocations: 0 / 335.7 MB, free: 12.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.006894/0.1344, allocations: 1.546 MB / 337.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.1345, allocations: 63.34 kB / 337.4 MB, free: 10.39 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.1348, allocations: 225 kB / 337.6 MB, free: 10.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.1349, allocations: 29.7 kB / 337.6 MB, free: 10.12 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.135, allocations: 184.1 kB / 337.8 MB, free: 9.938 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.1352, allocations: 122.2 kB / 337.9 MB, free: 9.816 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.53e-05/0.1353, allocations: 33.7 kB / 337.9 MB, free: 9.777 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.1355, allocations: 342.8 kB / 338.3 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.1358, allocations: 104.7 kB / 338.4 MB, free: 9.328 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/0.1362, allocations: 165.3 kB / 338.5 MB, free: 9.152 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007444/0.137, allocations: 287.8 kB / 338.8 MB, free: 8.855 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.137, allocations: 0 / 338.8 MB, free: 8.855 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002091/0.1391, allocations: 0.5449 MB / 339.4 MB, free: 8.297 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1391, allocations: 4 kB / 339.4 MB, free: 8.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1392, allocations: 4 kB / 339.4 MB, free: 8.289 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/0.1407, allocations: 253.5 kB / 339.6 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.141, allocations: 59.91 kB / 339.7 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004721/0.1457, allocations: 3.748 MB / 343.4 MB, free: 3.957 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.146, allocations: 8.031 kB / 343.4 MB, free: 3.949 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.146, allocations: 19.98 kB / 343.5 MB, free: 3.93 MB / 286.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002075/0.1462, allocations: 153.8 kB / 343.6 MB, free: 3.77 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.1463, allocations: 27.62 kB / 343.6 MB, free: 3.742 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.1464, allocations: 42.95 kB / 343.7 MB, free: 3.699 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1464, allocations: 7.938 kB / 343.7 MB, free: 3.691 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.1464, allocations: 4 kB / 343.7 MB, free: 3.688 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1465, allocations: 0 / 343.7 MB, free: 3.688 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.1486, allocations: 0.996 MB / 344.7 MB, free: 2.625 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.1486, allocations: 0 / 344.7 MB, free: 2.625 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.1488, allocations: 48.12 kB / 344.7 MB, free: 2.578 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.1503, allocations: 257.4 kB / 345 MB, free: 2.32 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.1503, allocations: 8 kB / 345 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004476/0.1548, allocations: 3.732 MB / 348.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1548, allocations: 3.938 kB / 348.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.1567, allocations: 0.7329 MB / 349.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.1569, allocations: 104.8 kB / 349.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.1569, allocations: 7.938 kB / 349.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.1572, allocations: 20.06 kB / 349.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.1573, allocations: 31.95 kB / 349.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.1573, allocations: 15.97 kB / 349.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.1575, allocations: 160.5 kB / 349.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1575, allocations: 3.938 kB / 349.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006141/0.1581, allocations: 100 kB / 349.9 MB, free: 13.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,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.0001508/0.1583, allocations: 107.2 kB / 350 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.1593, allocations: 0.5673 MB / 350.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1593, allocations: 4.062 kB / 350.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006006/0.1599, allocations: 433.4 kB / 351 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1603, allocations: 28.31 kB / 351 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.1616, allocations: 0.8793 MB / 351.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.1619, allocations: 0.7798 MB / 352.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.162, allocations: 14.3 kB / 352.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.1621, allocations: 19.42 kB / 352.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1621, allocations: 4 kB / 352.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of Templates: time 0.009752/0.1718, allocations: 5.239 MB / 357.9 MB, free: 4.91 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)