Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007448/0.007448, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.00124/0.00124, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.471/1.471, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.001203/0.001203, allocations: 53.38 kB / 326.5 MB, free: 14.47 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08264/0.08385, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004123/0.08801, allocations: 2.704 MB / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.09023, allocations: 1.2 MB / 377.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000324/0.0906, allocations: 8 kB / 377.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.09235, allocations: 0.6185 MB / 377.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.09288, allocations: 131.1 kB / 377.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.09426, allocations: 0.6768 MB / 378.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004644/0.09473, allocations: 290.6 kB / 378.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005265/0.09527, allocations: 274.8 kB / 379.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.09553, allocations: 127.6 kB / 379.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.09583, allocations: 171.3 kB / 379.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.0959, allocations: 24 kB / 379.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.09636, allocations: 175.8 kB / 379.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.09645, allocations: 67.7 kB / 379.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.09663, allocations: 147.3 kB / 379.8 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000709/0.09734, allocations: 494.5 kB / 380.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.09736, allocations: 0 / 380.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.09737, allocations: 0 / 380.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.09739, allocations: 0 / 380.2 MB, free: 10.2 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001762/0.09915, allocations: 0.7255 MB / 381 MB, free: 9.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.0992, allocations: 12.03 kB / 381 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008161/0.1, allocations: 116.5 kB / 381.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.1005, allocations: 256.6 kB / 381.3 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.1005, allocations: 28.97 kB / 381.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/0.1006, allocations: 36.31 kB / 381.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.1011, allocations: 337 kB / 381.7 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.1012, allocations: 7.906 kB / 381.7 MB, free: 8.602 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.1012, allocations: 15.98 kB / 381.8 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1012, allocations: 8 kB / 381.8 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.1016, allocations: 238.5 kB / 382 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.1038, allocations: 1.435 MB / 383.4 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007366/0.1046, allocations: 0.6971 MB / 384.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.1047, allocations: 108.9 kB / 384.2 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.1049, allocations: 97.03 kB / 384.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.1049, allocations: 34.56 kB / 384.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 2.054e-06/0.1049, allocations: 0 / 384.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001281/0.1062, allocations: 499.1 kB / 384.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.1062, allocations: 55.34 kB / 384.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.1064, allocations: 175.3 kB / 385.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.1064, allocations: 29.7 kB / 385.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1065, allocations: 179.9 kB / 385.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.1066, allocations: 86.8 kB / 385.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.177e-05/0.1067, allocations: 49.98 kB / 385.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1068, allocations: 322.8 kB / 385.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.1069, allocations: 72.53 kB / 385.8 MB, free: 4.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.1071, allocations: 128.2 kB / 385.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.1074, allocations: 212.1 kB / 386.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1074, allocations: 3.984 kB / 386.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005342/0.1079, allocations: 328.5 kB / 386.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1079, allocations: 8 kB / 386.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.108, allocations: 4.156 kB / 386.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000323/0.1083, allocations: 84.8 kB / 386.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.1085, allocations: 39.92 kB / 386.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.1105, allocations: 2.033 MB / 388.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.1107, allocations: 23.75 kB / 388.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1107, allocations: 16.06 kB / 388.7 MB, free: 1.109 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.1108, allocations: 145.7 kB / 388.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.1109, allocations: 19.75 kB / 388.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.1114, allocations: 292 kB / 389.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1114, allocations: 4 kB / 389.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1115, allocations: 0 / 389.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1115, allocations: 0 / 389.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009679/0.1124, allocations: 0.6836 MB / 389.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1125, allocations: 4 kB / 389.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.1126, allocations: 23.98 kB / 389.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002346/0.1128, allocations: 80.75 kB / 389.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.1128, allocations: 8 kB / 389.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/0.1147, allocations: 2.029 MB / 391.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1147, allocations: 0 / 391.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006213/0.1154, allocations: 456.5 kB / 392.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.345e-05/0.1155, allocations: 108.9 kB / 392.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.1155, allocations: 7.984 kB / 392.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1156, allocations: 8 kB / 392.5 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.1157, allocations: 15.92 kB / 392.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1157, allocations: 12.06 kB / 392.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1158, allocations: 127.2 kB / 392.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1158, allocations: 0 / 392.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004852/0.1163, allocations: 95.69 kB / 392.8 MB, free: 12.76 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001938/0.1165, allocations: 123.2 kB / 392.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006061/0.1171, allocations: 362.1 kB / 393.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1171, allocations: 0 / 393.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.1175, allocations: 243 kB / 393.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.1178, allocations: 23.91 kB / 393.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009888/0.1188, allocations: 0.5631 MB / 394.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1191, allocations: 0.756 MB / 394.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.575e-05/0.1192, allocations: 25.92 kB / 394.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.1193, allocations: 15.44 kB / 394.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1193, allocations: 288 / 394.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of Templates: time 0.006091/0.1254, allocations: 2.578 MB / 397.4 MB, free: 7.992 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1)