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.001452/0.001452, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.45/1.45, allocations: 230.6 MB / 252.7 MB, free: 8.09 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.001534/0.001534, allocations: 217.9 kB / 309.2 MB, free: 2.961 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.04144/0.04144, allocations: 8.929 MB / 374.6 MB, free: 1.734 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.002545/0.002545, allocations: 87.86 kB / 0.4891 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2517, allocations: 55.59 MB / 0.5434 GB, free: 26.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.003963/0.2557, allocations: 3.518 MB / 0.5469 GB, free: 24.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.2574, allocations: 0.9595 MB / 0.5478 GB, free: 23.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.2576, allocations: 9.5 kB / 0.5478 GB, free: 23.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.2578, allocations: 88.61 kB / 0.5479 GB, free: 23.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.2582, allocations: 161.3 kB / 0.548 GB, free: 23.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.2585, allocations: 177.4 kB / 0.5482 GB, free: 23.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004312/0.2589, allocations: 0.6443 MB / 0.5488 GB, free: 23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.2592, allocations: 185.8 kB / 0.549 GB, free: 22.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.2594, allocations: 265.8 kB / 0.5493 GB, free: 22.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.2597, allocations: 240.9 kB / 0.5495 GB, free: 22.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.949e-05/0.2597, allocations: 70.77 kB / 0.5496 GB, free: 22.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.2599, allocations: 69.81 kB / 0.5496 GB, free: 22.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.918e-05/0.2599, allocations: 135.3 kB / 0.5498 GB, free: 22.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.2601, allocations: 259 kB / 0.55 GB, free: 22.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005188/0.2606, allocations: 0.7408 MB / 0.5507 GB, free: 22.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2606, allocations: 0 / 0.5507 GB, free: 22.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2606, allocations: 0 / 0.5507 GB, free: 22.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.2606, allocations: 0 / 0.5507 GB, free: 22.11 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.001184/0.2618, allocations: 0.7804 MB / 0.5515 GB, free: 21.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.2618, allocations: 12.06 kB / 0.5515 GB, free: 21.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.07e-05/0.2619, allocations: 87.75 kB / 0.5516 GB, free: 21.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.2621, allocations: 71.8 kB / 0.5517 GB, free: 21.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.2626, allocations: 311 kB / 0.552 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.2626, allocations: 42.72 kB / 0.552 GB, free: 21.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.717e-05/0.2627, allocations: 52.69 kB / 0.552 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007403/0.2634, allocations: 0.5918 MB / 0.5526 GB, free: 20.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.2634, allocations: 0 / 0.5526 GB, free: 20.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.2634, allocations: 29.5 kB / 0.5527 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.2635, allocations: 12.06 kB / 0.5527 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006547/0.2641, allocations: 390.6 kB / 0.553 GB, free: 20.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.2662, allocations: 1.702 MB / 0.5547 GB, free: 19.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.2668, allocations: 290.6 kB / 0.555 GB, free: 19.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004695/0.2672, allocations: 215.1 kB / 0.5552 GB, free: 19.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.2673, allocations: 11.34 kB / 0.5552 GB, free: 19.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.2673, allocations: 33.94 kB / 0.5552 GB, free: 19.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.483e-06/0.2673, allocations: 0 / 0.5552 GB, free: 19.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.003897/0.2712, allocations: 1.588 MB / 0.5568 GB, free: 18.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.2712, allocations: 58.12 kB / 0.5568 GB, free: 18.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.2714, allocations: 305.7 kB / 0.5571 GB, free: 18.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.2715, allocations: 29.7 kB / 0.5572 GB, free: 18.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.968e-05/0.2716, allocations: 269.5 kB / 0.5574 GB, free: 18.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.2716, allocations: 176 kB / 0.5576 GB, free: 17.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.2718, allocations: 85.95 kB / 0.5577 GB, free: 17.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.236e-05/0.2718, allocations: 347.8 kB / 0.558 GB, free: 17.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.2722, allocations: 152.9 kB / 0.5581 GB, free: 17.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.2725, allocations: 238.7 kB / 0.5584 GB, free: 17.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006529/0.2732, allocations: 412 kB / 0.5588 GB, free: 17.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2732, allocations: 0 / 0.5588 GB, free: 17.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009371/0.2741, allocations: 0.5583 MB / 0.5593 GB, free: 16.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2741, allocations: 6.156 kB / 0.5593 GB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2741, allocations: 7.047 kB / 0.5593 GB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.2744, allocations: 105 kB / 0.5594 GB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/0.2748, allocations: 103.5 kB / 0.5595 GB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.2769, allocations: 3.366 MB / 0.5628 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.2772, allocations: 20.67 kB / 0.5628 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.2772, allocations: 24.59 kB / 0.5628 GB, free: 13.6 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.000178/0.2774, allocations: 175.1 kB / 0.563 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.099e-05/0.2774, allocations: 42.5 kB / 0.563 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.158e-05/0.2775, allocations: 56.3 kB / 0.5631 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.2775, allocations: 6.469 kB / 0.5631 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.2775, allocations: 0 / 0.5631 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2775, allocations: 3.125 kB / 0.5631 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.279, allocations: 1.026 MB / 0.5641 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.279, allocations: 5.406 kB / 0.5641 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.2794, allocations: 82.16 kB / 0.5642 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/0.2796, allocations: 105.9 kB / 0.5643 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.2796, allocations: 8.812 kB / 0.5643 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.2815, allocations: 3.365 MB / 0.5676 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2815, allocations: 3.938 kB / 0.5676 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.2827, allocations: 0.7676 MB / 0.5683 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.2829, allocations: 70.8 kB / 0.5684 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.2829, allocations: 10.69 kB / 0.5684 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.2832, allocations: 33.72 kB / 0.5685 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.2833, allocations: 35.31 kB / 0.5685 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.2833, allocations: 14.48 kB / 0.5685 GB, free: 9.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.2835, allocations: 210.8 kB / 0.5687 GB, free: 8.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2835, allocations: 0 / 0.5687 GB, free: 8.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000573/0.284, allocations: 120.4 kB / 0.5688 GB, free: 8.93 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.001378/0.2854, allocations: 1.32 MB / 0.5701 GB, free: 7.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.2865, allocations: 0.64 MB / 0.5707 GB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2865, allocations: 0.5938 kB / 0.5707 GB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006311/0.2871, allocations: 476 kB / 0.5712 GB, free: 7.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.2875, allocations: 65.16 kB / 0.5713 GB, free: 7.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005171/0.2927, allocations: 4.052 MB / 0.5752 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.2929, allocations: 242.1 kB / 0.5754 GB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.2931, allocations: 41.09 kB / 0.5755 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.2933, allocations: 170.1 kB / 0.5756 GB, free: 4.457 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2933, allocations: 0 / 0.5756 GB, free: 4.457 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04733/0.3406, allocations: 9.777 MB / 0.5852 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.82, allocations: 11.08 kB / 0.5852 GB, free: 0.6914 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Magnetic_TestTransformer_fmu --startTime=0 --stopTime=0.08 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Magnetic_TestTransformer.fmu > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.454849453642964] Failed to read output from testmodel.py, exit status != 0: 11.941273668780923 11.969330056 11.703452923 Calling exit ...