Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.TestTransformer.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.001531/0.001531, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.468/1.468, allocations: 230.6 MB / 252.7 MB, free: 14.26 MB / 206.1 MB " [Timeout remaining time 178] 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.0015/0.0015, allocations: 210.1 kB / 309.2 MB, free: 3.09 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04036/0.04036, allocations: 8.914 MB / 374.6 MB, free: 6.578 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: "" <> buildModelFMU(HanserModelica.Magnetic.TestTransformer,fileNamePrefix="HanserModelica_HanserModelica_Magnetic_TestTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Magnetic.TestTransformer,fileNamePrefix="HanserModelica_HanserModelica_Magnetic_TestTransformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica 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.0025/0.0025, allocations: 87.88 kB / 0.4891 GB, free: 44.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08776/0.09026, allocations: 55.61 MB / 0.5434 GB, free: 5.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.005369/0.09563, allocations: 3.512 MB / 0.5469 GB, free: 1.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.09752, allocations: 0.958 MB / 0.5478 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.09775, allocations: 15.94 kB / 0.5478 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.09797, allocations: 87.14 kB / 0.5479 GB, free: 464 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.09835, allocations: 154.6 kB / 0.548 GB, free: 308 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.09876, allocations: 187.7 kB / 0.5482 GB, free: 120 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007349/0.0995, allocations: 0.6386 MB / 0.5489 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/0.09985, allocations: 189.3 kB / 0.549 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003899/0.1002, allocations: 263.1 kB / 0.5493 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003499/0.1006, allocations: 238.8 kB / 0.5495 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.251e-05/0.1007, allocations: 68 kB / 0.5496 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1008, allocations: 68 kB / 0.5496 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.1009, allocations: 139.5 kB / 0.5498 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002603/0.1012, allocations: 250.9 kB / 0.55 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008524/0.1021, allocations: 0.7395 MB / 0.5507 GB, free: 13.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1021, allocations: 0 / 0.5507 GB, free: 13.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1021, allocations: 0 / 0.5507 GB, free: 13.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.1021, allocations: 4 kB / 0.5507 GB, free: 13.53 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001466/0.1035, allocations: 0.7663 MB / 0.5515 GB, free: 12.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1036, allocations: 19.98 kB / 0.5515 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.1037, allocations: 98.58 kB / 0.5516 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002175/0.1039, allocations: 68.55 kB / 0.5517 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005912/0.1045, allocations: 318.3 kB / 0.552 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.1046, allocations: 41.69 kB / 0.552 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/0.1046, allocations: 48.38 kB / 0.5521 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009916/0.1056, allocations: 0.5979 MB / 0.5526 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1057, allocations: 0 / 0.5526 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.1057, allocations: 20 kB / 0.5527 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.1057, allocations: 12 kB / 0.5527 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007884/0.1065, allocations: 387.8 kB / 0.553 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/0.1099, allocations: 1.703 MB / 0.5547 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.1109, allocations: 296.8 kB / 0.555 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007936/0.1117, allocations: 217.3 kB / 0.5552 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.1117, allocations: 4.281 kB / 0.5552 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.1118, allocations: 38.84 kB / 0.5552 GB, free: 8.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.835e-06/0.1118, allocations: 0 / 0.5552 GB, free: 8.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.006585/0.1184, allocations: 1.571 MB / 0.5568 GB, free: 7.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.1184, allocations: 67.78 kB / 0.5568 GB, free: 7.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.1188, allocations: 308.4 kB / 0.5571 GB, free: 6.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.1188, allocations: 37.7 kB / 0.5572 GB, free: 6.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.119, allocations: 268.9 kB / 0.5574 GB, free: 6.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.1192, allocations: 166.5 kB / 0.5576 GB, free: 6.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.1193, allocations: 86.14 kB / 0.5577 GB, free: 6.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1195, allocations: 346.8 kB / 0.558 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.1198, allocations: 156.9 kB / 0.5581 GB, free: 5.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.1203, allocations: 241.9 kB / 0.5584 GB, free: 5.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008108/0.1211, allocations: 409.1 kB / 0.5588 GB, free: 4.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1211, allocations: 4 kB / 0.5588 GB, free: 4.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001126/0.1222, allocations: 0.556 MB / 0.5593 GB, free: 4.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1222, allocations: 4 kB / 0.5593 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1222, allocations: 4 kB / 0.5593 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002886/0.1225, allocations: 93.61 kB / 0.5594 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.123, allocations: 107.8 kB / 0.5595 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/0.1261, allocations: 3.364 MB / 0.5628 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.1264, allocations: 28.06 kB / 0.5628 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.1265, allocations: 19.94 kB / 0.5628 GB, free: 0.5195 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 49 * 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): 2 systems {(1,5,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003126/0.1268, allocations: 185.7 kB / 0.563 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-05/0.1269, allocations: 39.77 kB / 0.5631 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.524e-05/0.127, allocations: 43.73 kB / 0.5631 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.127, allocations: 8 kB / 0.5631 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/0.127, allocations: 3.984 kB / 0.5631 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.127, allocations: 0 / 0.5631 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2129/0.3399, allocations: 1.025 MB / 0.5641 GB, free: 25.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3399, allocations: 1 kB / 0.5641 GB, free: 25.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.3403, allocations: 87.72 kB / 0.5642 GB, free: 25.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000263/0.3405, allocations: 93.28 kB / 0.5643 GB, free: 25.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.3405, allocations: 12.28 kB / 0.5643 GB, free: 25.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.3427, allocations: 3.366 MB / 0.5676 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3427, allocations: 3.25 kB / 0.5676 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.3439, allocations: 0.774 MB / 0.5683 GB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.3441, allocations: 70.58 kB / 0.5684 GB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.3441, allocations: 6.75 kB / 0.5684 GB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.3444, allocations: 31.19 kB / 0.5684 GB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.3445, allocations: 32.69 kB / 0.5685 GB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.3445, allocations: 16.75 kB / 0.5685 GB, free: 22.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.3447, allocations: 212.2 kB / 0.5687 GB, free: 22.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3447, allocations: 0 / 0.5687 GB, free: 22.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005986/0.3453, allocations: 123 kB / 0.5688 GB, free: 22.22 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (transformer.converter1.i,transformer.eddyCurrent.Phi) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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): 2 systems {(1,5,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001348/0.3466, allocations: 1.32 MB / 0.5701 GB, free: 21.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.3478, allocations: 0.6405 MB / 0.5707 GB, free: 21.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3478, allocations: 5 kB / 0.5707 GB, free: 21.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006393/0.3484, allocations: 469.2 kB / 0.5712 GB, free: 21.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.3488, allocations: 59.34 kB / 0.5712 GB, free: 21.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005442/0.3543, allocations: 4.048 MB / 0.5752 GB, free: 18.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.3546, allocations: 237.5 kB / 0.5754 GB, free: 18.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002436/0.3548, allocations: 41.88 kB / 0.5755 GB, free: 18.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.355, allocations: 168.5 kB / 0.5756 GB, free: 18.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.355, allocations: 4 kB / 0.5756 GB, free: 18.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04537/0.4004, allocations: 9.782 MB / 0.5852 GB, free: 16.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.92, allocations: 12.64 kB / 0.5852 GB, free: 16.6 MB / 382.1 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.TestTransformer.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Magnetic.TestTransformer_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_Magnetic_TestTransformer.fmu > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.734449509065598] Failed to read output from testmodel.py, exit status != 0: 12.043113545048982 12.062358968 11.95674701 Calling exit ...