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.001777/0.001777, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.604/1.604, allocations: 230.6 MB / 250.5 MB, free: 9.203 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.002069/0.002069, allocations: 213.5 kB / 306.7 MB, free: 4.281 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.04335/0.04335, allocations: 8.919 MB / 371.7 MB, free: 3.41 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Magnetic.TestTransformer,fileNamePrefix="HanserModelica_HanserModelica_Magnetic_TestTransformer",fmuType="cs",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.002866/0.002866, allocations: 79.88 kB / 496.4 MB, free: 9.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3762, allocations: 55.57 MB / 0.539 GB, free: 26.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.004744/0.3809, allocations: 3.856 MB / 0.5428 GB, free: 23.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.383, allocations: 0.9947 MB / 0.5438 GB, free: 23.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004098/0.3834, allocations: 13.47 kB / 0.5438 GB, free: 23.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.3837, allocations: 84.52 kB / 0.5439 GB, free: 23.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004332/0.3841, allocations: 169.9 kB / 0.544 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.3846, allocations: 175.7 kB / 0.5442 GB, free: 22.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005759/0.3852, allocations: 0.6478 MB / 0.5448 GB, free: 22.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.3855, allocations: 199.5 kB / 0.545 GB, free: 22.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.3858, allocations: 266.4 kB / 0.5453 GB, free: 22.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.3861, allocations: 276.9 kB / 0.5456 GB, free: 22.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.75e-05/0.3862, allocations: 71.81 kB / 0.5456 GB, free: 22.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.3863, allocations: 78.14 kB / 0.5457 GB, free: 22.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.29e-05/0.3864, allocations: 136.8 kB / 0.5458 GB, free: 22.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.3866, allocations: 300.5 kB / 0.5461 GB, free: 21.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007005/0.3873, allocations: 0.7404 MB / 0.5468 GB, free: 21.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3874, allocations: 2.812 kB / 0.5468 GB, free: 21.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3874, allocations: 0 / 0.5468 GB, free: 21.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.3874, allocations: 0 / 0.5468 GB, free: 21.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.001398/0.3888, allocations: 0.8431 MB / 0.5477 GB, free: 20.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.3888, allocations: 9.594 kB / 0.5477 GB, free: 20.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.489e-05/0.3888, allocations: 14.34 kB / 0.5477 GB, free: 20.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.736e-05/0.3889, allocations: 95.95 kB / 0.5478 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.3892, allocations: 74.75 kB / 0.5478 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.3897, allocations: 372.1 kB / 0.5482 GB, free: 20.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.3897, allocations: 40 kB / 0.5482 GB, free: 20.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.963e-05/0.3898, allocations: 48.38 kB / 0.5483 GB, free: 20.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008638/0.3907, allocations: 0.5222 MB / 0.5488 GB, free: 20.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.3907, allocations: 0 / 0.5488 GB, free: 20.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.3907, allocations: 19.03 kB / 0.5488 GB, free: 20.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.3907, allocations: 12.72 kB / 0.5488 GB, free: 20.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007338/0.3915, allocations: 396.2 kB / 0.5492 GB, free: 20.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002634/0.3941, allocations: 1.9 MB / 0.5511 GB, free: 18.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.3948, allocations: 295.2 kB / 0.5513 GB, free: 18.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005135/0.3953, allocations: 210.1 kB / 0.5515 GB, free: 18.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.3954, allocations: 7.344 kB / 0.5515 GB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3954, allocations: 37.81 kB / 0.5516 GB, free: 18.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.665e-06/0.3954, allocations: 0 / 0.5516 GB, free: 18.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.004699/0.4001, allocations: 1.736 MB / 0.5533 GB, free: 17.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.4001, allocations: 62.97 kB / 0.5533 GB, free: 17.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.4005, allocations: 299.8 kB / 0.5536 GB, free: 17.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.4005, allocations: 36.95 kB / 0.5537 GB, free: 17.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.4007, allocations: 271.6 kB / 0.5539 GB, free: 17.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.819e-05/0.4007, allocations: 165.5 kB / 0.5541 GB, free: 17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.4009, allocations: 95.12 kB / 0.5542 GB, free: 16.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.4009, allocations: 341 kB / 0.5545 GB, free: 16.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.4013, allocations: 154.1 kB / 0.5546 GB, free: 16.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.4016, allocations: 237.8 kB / 0.5549 GB, free: 16.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/0.4023, allocations: 413.5 kB / 0.5553 GB, free: 16.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4023, allocations: 0 / 0.5553 GB, free: 16.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001021/0.4033, allocations: 0.5605 MB / 0.5558 GB, free: 15.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.4033, allocations: 6 kB / 0.5558 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4033, allocations: 6.938 kB / 0.5558 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003131/0.4036, allocations: 95.48 kB / 0.5559 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.4041, allocations: 110.6 kB / 0.556 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.4066, allocations: 3.592 MB / 0.5595 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.4069, allocations: 25.67 kB / 0.5595 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.4069, allocations: 26.69 kB / 0.5596 GB, free: 12.41 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.0003069/0.4072, allocations: 182.3 kB / 0.5597 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.4073, allocations: 38.11 kB / 0.5598 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.911e-05/0.4074, allocations: 49.52 kB / 0.5598 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4074, allocations: 6.469 kB / 0.5598 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.4074, allocations: 0 / 0.5598 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4074, allocations: 10.5 kB / 0.5598 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.4091, allocations: 1.117 MB / 0.5609 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.4091, allocations: 3.328 kB / 0.5609 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.4095, allocations: 91.69 kB / 0.561 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002589/0.4098, allocations: 96.44 kB / 0.5611 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.4098, allocations: 9.078 kB / 0.5611 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/0.4123, allocations: 3.593 MB / 0.5646 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4123, allocations: 3.938 kB / 0.5646 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.4137, allocations: 0.776 MB / 0.5654 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.4138, allocations: 146.2 kB / 0.5655 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.4139, allocations: 10.91 kB / 0.5655 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.4142, allocations: 25.73 kB / 0.5656 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.4143, allocations: 32.2 kB / 0.5656 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.4143, allocations: 19.19 kB / 0.5656 GB, free: 7.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002487/0.4146, allocations: 210.1 kB / 0.5658 GB, free: 7.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4146, allocations: 0 / 0.5658 GB, free: 7.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007717/0.4153, allocations: 120.5 kB / 0.5659 GB, free: 7.328 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.001943/0.4173, allocations: 1.313 MB / 0.5672 GB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.4189, allocations: 0.6473 MB / 0.5679 GB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4189, allocations: 1.688 kB / 0.5679 GB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007825/0.4197, allocations: 484.7 kB / 0.5683 GB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.4202, allocations: 57.45 kB / 0.5684 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008463/0.4287, allocations: 4.047 MB / 0.5723 GB, free: 3.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/0.4294, allocations: 0.8461 MB / 0.5732 GB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002923/0.4296, allocations: 41.55 kB / 0.5732 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.43, allocations: 169.6 kB / 0.5734 GB, free: 2.215 MB / 382.1 MB Notification: Performance of SimCode: time 2.254e-06/0.43, allocations: 0 / 0.5734 GB, free: 2.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04411/0.4741, allocations: 9.023 MB / 0.5822 GB, free: 15.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.29, allocations: 10.5 kB / 0.5822 GB, free: 15.26 MB / 398.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 os._exit(0), Time elapsed: 15.473106783989351] Failed to read output from testmodel.py, exit status != 0: 12.435386807017494 12.449754844 12.059266634 Calling exit ...