Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.01047/0.01047, allocations: 99.62 kB / 15.73 MB, free: 6.043 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.002144/0.002144, allocations: 191.7 kB / 16.67 MB, free: 5.957 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.524/1.524, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.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.001503/0.001503, allocations: 51.05 kB / 326.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1115, allocations: 46.63 MB / 373.2 MB, free: 1.453 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004619/0.1161, allocations: 2.668 MB / 375.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1179, allocations: 0.9002 MB / 376.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002887/0.1183, allocations: 4 kB / 376.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.1186, allocations: 59.42 kB / 376.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004349/0.1191, allocations: 99.25 kB / 376.9 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.1194, allocations: 99.81 kB / 377 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004873/0.1199, allocations: 354.6 kB / 377.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.1201, allocations: 117.6 kB / 377.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.1204, allocations: 139.5 kB / 377.6 MB, free: 13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.1207, allocations: 155.3 kB / 377.7 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.518e-05/0.1208, allocations: 32 kB / 377.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.402e-05/0.1208, allocations: 28 kB / 377.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.1209, allocations: 71.7 kB / 377.9 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.1211, allocations: 151.2 kB / 378 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.1215, allocations: 354.7 kB / 378.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1215, allocations: 0 / 378.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1215, allocations: 3.938 kB / 378.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.1215, allocations: 4 kB / 378.4 MB, free: 12.21 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00102/0.1226, allocations: 0.5964 MB / 379 MB, free: 11.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1226, allocations: 15.89 kB / 379 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.491e-05/0.1227, allocations: 36.47 kB / 379 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.1231, allocations: 251.7 kB / 379.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.1231, allocations: 24.94 kB / 379.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.1232, allocations: 32.38 kB / 379.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.1237, allocations: 249.2 kB / 379.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1237, allocations: 0 / 379.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.1237, allocations: 11.94 kB / 379.6 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.1237, allocations: 8 kB / 379.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004345/0.1242, allocations: 210.1 kB / 379.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.1258, allocations: 1.017 MB / 380.8 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.1262, allocations: 198.5 kB / 381 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.1265, allocations: 116.8 kB / 381.1 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.1265, allocations: 0 / 381.1 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1266, allocations: 34.56 kB / 381.1 MB, free: 9.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.312e-06/0.1266, allocations: 0 / 381.1 MB, free: 9.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.005059/0.1316, allocations: 1.534 MB / 382.7 MB, free: 7.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.1317, allocations: 67.34 kB / 382.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.1319, allocations: 225 kB / 383 MB, free: 7.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.132, allocations: 29.7 kB / 383 MB, free: 7.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1321, allocations: 188.1 kB / 383.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.488e-05/0.1322, allocations: 114.2 kB / 383.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.1323, allocations: 66.06 kB / 383.3 MB, free: 6.902 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1324, allocations: 342.8 kB / 383.7 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.1327, allocations: 104.7 kB / 383.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.133, allocations: 165.4 kB / 383.9 MB, free: 6.281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/0.1335, allocations: 280 kB / 384.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1335, allocations: 0 / 384.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00154/0.135, allocations: 0.537 MB / 384.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1351, allocations: 4 kB / 384.8 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1351, allocations: 7.984 kB / 384.8 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.1363, allocations: 241.4 kB / 385 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.1366, allocations: 59.91 kB / 385.1 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004878/0.1415, allocations: 4.137 MB / 389.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.1418, allocations: 16.27 kB / 389.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.1418, allocations: 8 kB / 389.2 MB, free: 0.6953 MB / 318.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.0001789/0.142, allocations: 149.8 kB / 389.4 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.1421, allocations: 31.66 kB / 389.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.113e-05/0.1422, allocations: 38.95 kB / 389.4 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1422, allocations: 7.938 kB / 389.4 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1422, allocations: 4.062 kB / 389.4 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1422, allocations: 3.984 kB / 389.5 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.1442, allocations: 0.9767 MB / 390.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1443, allocations: 0 / 390.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.1445, allocations: 39.97 kB / 390.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/0.1457, allocations: 241.5 kB / 390.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.1457, allocations: 11.98 kB / 390.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004447/0.1501, allocations: 4.122 MB / 394.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1502, allocations: 4.094 kB / 394.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.152, allocations: 0.7248 MB / 395.6 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.1521, allocations: 104.7 kB / 395.7 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.1521, allocations: 11.94 kB / 395.7 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.1524, allocations: 20.05 kB / 395.7 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.1525, allocations: 31.95 kB / 395.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.1525, allocations: 11.94 kB / 395.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.1527, allocations: 164.5 kB / 395.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1527, allocations: 0 / 395.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006164/0.1533, allocations: 104 kB / 396 MB, free: 9.5 MB / 334.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.0001588/0.1535, allocations: 107.2 kB / 396.1 MB, free: 9.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.1546, allocations: 0.5672 MB / 396.7 MB, free: 8.793 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1546, allocations: 256 / 396.7 MB, free: 8.793 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005894/0.1552, allocations: 437 kB / 397.1 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1556, allocations: 20.44 kB / 397.1 MB, free: 8.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.1569, allocations: 0.6918 MB / 397.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1572, allocations: 0.7799 MB / 398.6 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.539e-05/0.1573, allocations: 22.3 kB / 398.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/0.1574, allocations: 15.44 kB / 398.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1574, allocations: 0 / 398.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of Templates: time 0.01011/0.1675, allocations: 5.493 MB / 404.1 MB, free: 1.246 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)