Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarPolygon.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.001255/0.001255, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.461/1.461, allocations: 230.6 MB / 249.8 MB, free: 9.207 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.001574/0.001574, allocations: 206.8 kB / 306 MB, free: 4.285 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.04578/0.04578, allocations: 8.9 MB / 371 MB, free: 3.418 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.Electrical.StarPolygon,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarPolygon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.StarPolygon,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarPolygon",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.002499/0.002499, allocations: 87.86 kB / 495.7 MB, free: 9.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3412, allocations: 55.56 MB / 0.5384 GB, free: 26.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.004657/0.3459, allocations: 4.121 MB / 0.5424 GB, free: 23.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.3481, allocations: 1.192 MB / 0.5436 GB, free: 22.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003246/0.3484, allocations: 31.28 kB / 0.5436 GB, free: 22.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.3488, allocations: 179.6 kB / 0.5438 GB, free: 22.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007409/0.3495, allocations: 296.3 kB / 0.544 GB, free: 22.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.3499, allocations: 177.7 kB / 0.5442 GB, free: 22.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.3515, allocations: 2.459 MB / 0.5466 GB, free: 21.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001573/0.3531, allocations: 1.873 MB / 0.5484 GB, free: 20.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.3543, allocations: 1.206 MB / 0.5496 GB, free: 19.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.3557, allocations: 1.386 MB / 0.551 GB, free: 19.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003406/0.3561, allocations: 319.8 kB / 0.5513 GB, free: 19.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004652/0.3565, allocations: 325.4 kB / 0.5516 GB, free: 19.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005233/0.3571, allocations: 0.8578 MB / 0.5524 GB, free: 18.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.3583, allocations: 1.433 MB / 0.5538 GB, free: 17.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003632/0.3619, allocations: 4.095 MB / 0.5578 GB, free: 16.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3619, allocations: 0 / 0.5578 GB, free: 16.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3619, allocations: 0 / 0.5578 GB, free: 16.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001403/0.3621, allocations: 0 / 0.5578 GB, free: 16.32 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.006492/0.3686, allocations: 2.977 MB / 0.5607 GB, free: 14.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.3686, allocations: 8.5 kB / 0.5607 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004629/0.3691, allocations: 334.4 kB / 0.5611 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.3702, allocations: 335.8 kB / 0.5614 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002759/0.373, allocations: 1.551 MB / 0.5629 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.3731, allocations: 176.6 kB / 0.5631 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000412/0.3736, allocations: 238.2 kB / 0.5633 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006055/0.3796, allocations: 3.187 MB / 0.5664 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.138e-05/0.3797, allocations: 2.969 kB / 0.5664 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.3799, allocations: 93.59 kB / 0.5665 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.332e-05/0.3799, allocations: 54.19 kB / 0.5665 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004825/0.3848, allocations: 2.658 MB / 0.5691 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.3971, allocations: 7.856 MB / 0.5768 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.3995, allocations: 3.021 MB / 0.5798 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.4009, allocations: 1.01 MB / 0.5808 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.303e-05/0.401, allocations: 13 kB / 0.5808 GB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/0.4022, allocations: 0.9841 MB / 0.5817 GB, free: 0.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 2.966e-06/0.4022, allocations: 3.938 kB / 0.5817 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008685/0.4109, allocations: 4.498 MB / 0.5861 GB, free: 12.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.4111, allocations: 209.2 kB / 0.5863 GB, free: 12.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.413, allocations: 1.28 MB / 0.5876 GB, free: 10.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.4131, allocations: 57.7 kB / 0.5876 GB, free: 10.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.4142, allocations: 0.993 MB / 0.5886 GB, free: 9.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004022/0.4146, allocations: 456.2 kB / 0.589 GB, free: 9.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003907/0.415, allocations: 238.9 kB / 0.5893 GB, free: 9.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4151, allocations: 357.9 kB / 0.5896 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.4163, allocations: 0.6739 MB / 0.5903 GB, free: 8.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.4177, allocations: 0.9895 MB / 0.5912 GB, free: 6.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/0.4202, allocations: 1.654 MB / 0.5928 GB, free: 5.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.4202, allocations: 4 kB / 0.5928 GB, free: 5.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003578/0.4238, allocations: 2.051 MB / 0.5948 GB, free: 3.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.4238, allocations: 10.34 kB / 0.5949 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.4238, allocations: 11.94 kB / 0.5949 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006847/0.4245, allocations: 284.9 kB / 0.5951 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.4256, allocations: 267.6 kB / 0.5954 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005351/0.4309, allocations: 4.068 MB / 0.5994 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.4322, allocations: 79.92 kB / 0.5994 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.727e-05/0.4323, allocations: 48 kB / 0.5995 GB, free: 14.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[5].mean.y_last,$PRE.rootMeanSquare[5].mean.y_last,rootMeanSquare[4].mean.y_last,$PRE.rootMeanSquare[4].mean.y_last,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,switch.control[5],switch.control[4],switch.control[3],switch.control[2],switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002113/0.4344, allocations: 0.8508 MB / 0.6003 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/0.4348, allocations: 139.2 kB / 0.6005 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.4352, allocations: 181.9 kB / 0.6006 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.4352, allocations: 15.94 kB / 0.6006 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.176e-05/0.4352, allocations: 4 kB / 0.6006 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.4352, allocations: 4.172 kB / 0.6007 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007355/0.4426, allocations: 4.273 MB / 0.6048 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.4426, allocations: 4.062 kB / 0.6048 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008511/0.4434, allocations: 191.8 kB / 0.605 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006335/0.4441, allocations: 277 kB / 0.6053 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.553e-05/0.4442, allocations: 39.97 kB / 0.6053 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005156/0.4493, allocations: 4.022 MB / 0.6092 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4493, allocations: 4.031 kB / 0.6092 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004699/0.454, allocations: 2.846 MB / 0.612 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009014/0.4549, allocations: 372.1 kB / 0.6124 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.4551, allocations: 51.97 kB / 0.6124 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006615/0.4558, allocations: 63.94 kB / 0.6125 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/0.4561, allocations: 128.8 kB / 0.6126 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.707e-05/0.4562, allocations: 43.98 kB / 0.6127 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001342/0.4575, allocations: 0.9022 MB / 0.6135 GB, free: 15.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4575, allocations: 0 / 0.6135 GB, free: 15.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001422/0.4589, allocations: 447.9 kB / 0.614 GB, free: 15.14 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (inductorLoad.inductor[1].i,inductorLoad.inductor[2].i,inductorLoad.inductor[3].i,inductorLoad.inductor[4].i,inductorLoad.inductor[5].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[5].mean.x) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,switch.control[1],switch.control[2],switch.control[3],switch.control[4],switch.control[5],rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last,rootMeanSquare[4].mean.y_last,rootMeanSquare[5].mean.y_last) * Number of discrete states: 5 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[5].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004844/0.4638, allocations: 3.458 MB / 0.6173 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00337/0.4671, allocations: 1.794 MB / 0.6191 GB, free: 9.832 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.4672, allocations: 8 kB / 0.6191 GB, free: 9.824 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001923/0.4691, allocations: 1.03 MB / 0.6201 GB, free: 8.785 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/0.471, allocations: 313 kB / 0.6204 GB, free: 8.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02608/0.497, allocations: 16.19 MB / 0.6362 GB, free: 7.871 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003023/0.5001, allocations: 2.046 MB / 0.6382 GB, free: 5.789 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001663/0.5017, allocations: 370.4 kB / 0.6386 GB, free: 5.422 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/0.5031, allocations: 0.7882 MB / 0.6393 GB, free: 4.633 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5031, allocations: 0 / 0.6393 GB, free: 4.633 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/0.6206, allocations: 38.56 MB / 0.677 GB, free: 14.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.07, allocations: 8 kB / 0.677 GB, free: 14.4 MB / 494.1 MB " [Timeout remaining time 647] (rm -f HanserModelica_HanserModelica.Electrical.StarPolygon.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarPolygon.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarPolygon.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarPolygon.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Electrical.StarPolygon_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_Electrical_StarPolygon.fmu > HanserModelica_HanserModelica.Electrical.StarPolygon.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.829582346996176] Failed to read output from testmodel.py, exit status != 0: 13.173782749989186 13.194820619 12.82877455 Calling exit ...