Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.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.001534/0.001534, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 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.001433/0.001433, allocations: 215.3 kB / 23.01 MB, free: 4.602 MB / 14.72 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.333/1.333, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 179] 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.008821/0.008821, allocations: 1.237 MB / 314.4 MB, free: 1.984 MB / 238.1 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.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") [Timeout 660] "Notification: FluxTubesExtension requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 63.91 kB / 437.3 MB, free: 16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0839/0.08577, allocations: 53.64 MB / 490.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.004141/0.08991, allocations: 2.866 MB / 493.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.09244, allocations: 1.713 MB / 495.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.09256, allocations: 11.94 kB / 495.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006028/0.09316, allocations: 191 kB / 495.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.09337, allocations: 103.2 kB / 495.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006594/0.09403, allocations: 318.8 kB / 496.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004848/0.09452, allocations: 394.4 kB / 496.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.09468, allocations: 77.98 kB / 496.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.09489, allocations: 151.4 kB / 496.7 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.09513, allocations: 163.2 kB / 496.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.09517, allocations: 32 kB / 496.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.09553, allocations: 239.6 kB / 497.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.612e-05/0.09563, allocations: 87.67 kB / 497.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.09579, allocations: 179 kB / 497.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.09633, allocations: 466.1 kB / 497.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.09634, allocations: 0 / 497.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09634, allocations: 0 / 497.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.09634, allocations: 0 / 497.9 MB, free: 3.289 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009855/0.09733, allocations: 0.5945 MB / 498.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.09736, allocations: 8.031 kB / 498.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.09753, allocations: 52.64 kB / 498.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.09788, allocations: 221 kB / 498.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.09791, allocations: 25.03 kB / 498.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/0.09796, allocations: 28.33 kB / 498.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.09844, allocations: 274.3 kB / 499.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.09846, allocations: 4 kB / 499.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.09848, allocations: 12 kB / 499.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.09849, allocations: 8 kB / 499.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.09897, allocations: 246.5 kB / 499.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.1006, allocations: 1.042 MB / 0.4886 GB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.1011, allocations: 226.4 kB / 0.4889 GB, free: 432 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.1013, allocations: 122.4 kB / 0.489 GB, free: 308 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.121e-05/0.1014, allocations: 16 kB / 0.489 GB, free: 292 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.1014, allocations: 38.48 kB / 0.489 GB, free: 244 kB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.283e-06/0.1014, allocations: 0 / 0.489 GB, free: 244 kB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.004131/0.1055, allocations: 1.477 MB / 0.4905 GB, free: 14.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.1056, allocations: 59.41 kB / 0.4905 GB, free: 14.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.1059, allocations: 284.2 kB / 0.4908 GB, free: 14.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.1059, allocations: 29.7 kB / 0.4908 GB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.1061, allocations: 204.5 kB / 0.491 GB, free: 14.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.1061, allocations: 119 kB / 0.4911 GB, free: 14.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.1062, allocations: 69.61 kB / 0.4912 GB, free: 13.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1064, allocations: 350.7 kB / 0.4915 GB, free: 13.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.1066, allocations: 119.9 kB / 0.4917 GB, free: 13.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.1069, allocations: 160.5 kB / 0.4918 GB, free: 13.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/0.1074, allocations: 306 kB / 0.4921 GB, free: 12.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1074, allocations: 0 / 0.4921 GB, free: 12.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001598/0.109, allocations: 0.6252 MB / 0.4927 GB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.109, allocations: 4 kB / 0.4927 GB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.109, allocations: 0 / 0.4927 GB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002555/0.1116, allocations: 0.5285 MB / 0.4932 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.1118, allocations: 63.91 kB / 0.4933 GB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009982/0.1128, allocations: 1.284 MB / 0.4945 GB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.113, allocations: 15.98 kB / 0.4946 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.113, allocations: 12 kB / 0.4946 GB, free: 10.38 MB / 366.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 (30): * Single equations (assignments): 28 * 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,8), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.1132, allocations: 157.8 kB / 0.4947 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.1133, allocations: 35.77 kB / 0.4948 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.1148, allocations: 0.58 MB / 0.4953 GB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1148, allocations: 4 kB / 0.4953 GB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1148, allocations: 4 kB / 0.4953 GB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1148, allocations: 0 / 0.4953 GB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.1169, allocations: 1.028 MB / 0.4963 GB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1169, allocations: 0 / 0.4963 GB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.1171, allocations: 47.91 kB / 0.4964 GB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002489/0.1196, allocations: 0.5286 MB / 0.4969 GB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.1196, allocations: 11.98 kB / 0.4969 GB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009542/0.1205, allocations: 1.276 MB / 0.4982 GB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1205, allocations: 0 / 0.4982 GB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.1223, allocations: 0.8109 MB / 0.4989 GB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.1223, allocations: 27.84 kB / 0.499 GB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.1223, allocations: 11.94 kB / 0.499 GB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.1225, allocations: 15.92 kB / 0.499 GB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.1226, allocations: 27.97 kB / 0.499 GB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.1226, allocations: 11.98 kB / 0.499 GB, free: 5.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.1228, allocations: 203.1 kB / 0.4992 GB, free: 5.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1228, allocations: 192 / 0.4992 GB, free: 5.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.1232, allocations: 91.88 kB / 0.4993 GB, free: 5.34 MB / 366.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 (20): * Single equations (assignments): 18 * 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,8), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002015/0.1234, allocations: 137 kB / 0.4994 GB, free: 5.199 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007296/0.1241, allocations: 316.5 kB / 0.4998 GB, free: 4.891 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1241, allocations: 0 / 0.4998 GB, free: 4.891 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.1245, allocations: 171.8 kB / 0.4999 GB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.1249, allocations: 43.48 kB / 0.5 GB, free: 4.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.1262, allocations: 0.7958 MB / 0.5007 GB, free: 3.848 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.1267, allocations: 0.7876 MB / 0.5015 GB, free: 3.035 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.1267, allocations: 19.44 kB / 0.5015 GB, free: 3.016 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1267, allocations: 0 / 0.5015 GB, free: 3.016 MB / 366.1 MB Notification: Performance of Templates: time 0.1679/0.2947, allocations: 6.486 MB / 0.5079 GB, free: 26.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.417593573918566] Failed to read output from testmodel.py, exit status != 0: 0.3010929881129414 0.312444735 0.21380405999999996 Calling exit ...