Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002374/0.002374, allocations: 161.7 kB / 22.76 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.623/1.623, allocations: 177.1 MB / 203.1 MB, free: 5.27 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo): time 0.01004/0.01004, allocations: 0.9493 MB / 260.5 MB, free: 12.12 MB / 250.7 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") translateModel(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.915e-06/2.915e-06, allocations: 0 / 330 MB, free: 19.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.556e-05/3.847e-05, allocations: 2.312 kB / 330 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.004734/0.004773, allocations: 2.822 MB / 332.8 MB, free: 16.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002939/0.007712, allocations: 1.327 MB / 334.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005184/0.00823, allocations: 7.938 kB / 334.2 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008452/0.009075, allocations: 151 kB / 334.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007464/0.009822, allocations: 119 kB / 334.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.0109, allocations: 287 kB / 334.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007151/0.01162, allocations: 444.2 kB / 335.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.01188, allocations: 95.67 kB / 335.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006342/0.01251, allocations: 263.3 kB / 335.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.01281, allocations: 147.5 kB / 335.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.242e-05/0.01287, allocations: 36 kB / 335.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.01326, allocations: 179.6 kB / 335.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.01339, allocations: 103.6 kB / 336 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.01355, allocations: 127.7 kB / 336.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006756/0.01423, allocations: 0.5334 MB / 336.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.01423, allocations: 0 / 336.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.01424, allocations: 0 / 336.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.01425, allocations: 0 / 336.6 MB, free: 12.55 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001309/0.01556, allocations: 0.6488 MB / 337.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.0156, allocations: 8.031 kB / 337.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.01575, allocations: 72.66 kB / 337.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.01626, allocations: 257.2 kB / 337.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.01629, allocations: 25.03 kB / 337.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.01635, allocations: 44.31 kB / 337.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/0.01693, allocations: 294.6 kB / 338 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.01694, allocations: 192 / 338 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.01698, allocations: 16.36 kB / 338 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.01699, allocations: 11.94 kB / 338 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005751/0.01756, allocations: 270.5 kB / 338.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.01923, allocations: 0.9415 MB / 339.2 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.01965, allocations: 192.8 kB / 339.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.01983, allocations: 76.81 kB / 339.4 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.271e-05/0.01989, allocations: 12 kB / 339.5 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.01992, allocations: 42.55 kB / 339.5 MB, free: 9.516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 2.365e-06/0.01993, allocations: 0 / 339.5 MB, free: 9.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.00301/0.02294, allocations: 0.9224 MB / 340.4 MB, free: 8.586 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.02297, allocations: 59.58 kB / 340.5 MB, free: 8.516 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.02329, allocations: 316.5 kB / 340.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.02332, allocations: 33.7 kB / 340.8 MB, free: 8.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.02342, allocations: 248 kB / 341.1 MB, free: 7.914 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.02347, allocations: 87.23 kB / 341.2 MB, free: 7.828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.997e-05/0.02357, allocations: 70.02 kB / 341.2 MB, free: 7.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.014e-05/0.02364, allocations: 342.8 kB / 341.6 MB, free: 7.406 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.02394, allocations: 120.7 kB / 341.7 MB, free: 7.289 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.02425, allocations: 221.2 kB / 341.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005878/0.02484, allocations: 344.7 kB / 342.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.02484, allocations: 4 kB / 342.2 MB, free: 6.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001384/0.02623, allocations: 0.6236 MB / 342.9 MB, free: 6.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.02625, allocations: 11.94 kB / 342.9 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.02626, allocations: 4 kB / 342.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/0.02854, allocations: 1.006 MB / 343.9 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.02892, allocations: 75.89 kB / 343.9 MB, free: 4.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006352/0.02956, allocations: 1.171 MB / 345.1 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.02992, allocations: 27.97 kB / 345.1 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.02995, allocations: 12 kB / 345.2 MB, free: 3.656 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001844/0.03013, allocations: 157.9 kB / 345.3 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.0302, allocations: 47.7 kB / 345.4 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.03143, allocations: 0.5213 MB / 345.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.03144, allocations: 11.94 kB / 345.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.03145, allocations: 0 / 345.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.03145, allocations: 3.984 kB / 345.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.03182, allocations: 261.2 kB / 346.2 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.03182, allocations: 0 / 346.2 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.03203, allocations: 43.91 kB / 346.2 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/0.03413, allocations: 1.006 MB / 347.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/0.03418, allocations: 4 kB / 347.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006218/0.0348, allocations: 1.171 MB / 348.4 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.0348, allocations: 4.125 kB / 348.4 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.03627, allocations: 0.598 MB / 349 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.0364, allocations: 39.75 kB / 349 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.185e-05/0.03646, allocations: 4 kB / 349 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.03672, allocations: 19.98 kB / 349 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/0.03682, allocations: 15.97 kB / 349.1 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.03684, allocations: 11.98 kB / 349.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003453/0.03719, allocations: 219.1 kB / 349.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03719, allocations: 3.938 kB / 349.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005869/0.03777, allocations: 99.88 kB / 349.4 MB, free: 15.3 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003889/0.03816, allocations: 139 kB / 349.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.03933, allocations: 313.9 kB / 349.8 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.03934, allocations: 0 / 349.8 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005719/0.03991, allocations: 169.4 kB / 350 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005486/0.04046, allocations: 54.47 kB / 350 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.04216, allocations: 0.6188 MB / 350.7 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.04242, allocations: 192.3 kB / 350.8 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000205/0.04262, allocations: 38.89 kB / 350.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.827e-05/0.04271, allocations: 24.5 kB / 350.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of SimCode: time 1.443e-06/0.04271, allocations: 0 / 350.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of Templates: time 0.01053/0.05324, allocations: 3.682 MB / 354.6 MB, free: 10.09 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.193398225004785]