Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.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.001599/0.001599, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001777/0.001777, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 207.6 MB / 230.5 MB, free: 4.008 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06843/0.06843, allocations: 14.41 MB / 296.8 MB, free: 1.895 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00277/0.00277, allocations: 82.53 kB / 416.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3356, allocations: 52.87 MB / 469 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad): time 0.008767/0.3444, allocations: 6.94 MB / 476 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006022/0.3504, allocations: 3.437 MB / 479.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008231/0.3512, allocations: 19.88 kB / 479.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.3523, allocations: 381.8 kB / 479.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003779/0.3561, allocations: 1.534 MB / 481.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007382/0.3568, allocations: 319 kB / 481.6 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002511/0.3593, allocations: 1.864 MB / 483.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.3596, allocations: 86.02 kB / 483.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008863/0.3604, allocations: 0.65 MB / 484.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000774/0.3612, allocations: 0.6342 MB / 484.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.3613, allocations: 64 kB / 484.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009051/0.3622, allocations: 347.8 kB / 485.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.3624, allocations: 159.2 kB / 485.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000612/0.363, allocations: 0.5364 MB / 486 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.3652, allocations: 1.43 MB / 487.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3652, allocations: 4 kB / 487.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3652, allocations: 0 / 487.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.3652, allocations: 4 kB / 487.4 MB, free: 11.3 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00547/0.3707, allocations: 1.636 MB / 489 MB, free: 9.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.3707, allocations: 12.03 kB / 489.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.21e-05/0.3708, allocations: 18.19 kB / 489.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.3709, allocations: 110.7 kB / 489.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000715/0.3716, allocations: 152.3 kB / 489.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.3731, allocations: 0.7037 MB / 490 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.246e-05/0.3732, allocations: 50 kB / 490.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.3733, allocations: 64 kB / 490.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.3746, allocations: 0.6668 MB / 490.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.3746, allocations: 3.938 kB / 490.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6e-05/0.3747, allocations: 32 kB / 490.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.3747, allocations: 16 kB / 490.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.376, allocations: 0.6349 MB / 491.5 MB, free: 7.082 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006732/0.3827, allocations: 4.477 MB / 496 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.3845, allocations: 1.093 MB / 497.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004646/0.3849, allocations: 249.6 kB / 497.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.573e-05/0.385, allocations: 11.98 kB / 497.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.3851, allocations: 46.5 kB / 497.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 4.94e-06/0.3851, allocations: 0 / 497.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.004381/0.3894, allocations: 1.424 MB / 498.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/0.3895, allocations: 85.11 kB / 498.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009157/0.3904, allocations: 0.5499 MB / 499.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.3905, allocations: 37.7 kB / 499.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.3908, allocations: 325.1 kB / 499.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/0.3912, allocations: 285.5 kB / 0.4883 GB, free: 13.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.3914, allocations: 110.6 kB / 0.4884 GB, free: 13.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002803/0.3917, allocations: 382.8 kB / 0.4888 GB, free: 13.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.3921, allocations: 193.9 kB / 0.489 GB, free: 13.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004363/0.3925, allocations: 261.3 kB / 0.4892 GB, free: 12.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008664/0.3934, allocations: 0.4954 MB / 0.4897 GB, free: 12.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.3934, allocations: 0 / 0.4897 GB, free: 12.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002291/0.3957, allocations: 0.8527 MB / 0.4906 GB, free: 11.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.3957, allocations: 4 kB / 0.4906 GB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.3957, allocations: 7.922 kB / 0.4906 GB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.397, allocations: 281.4 kB / 0.4908 GB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005543/0.3976, allocations: 131.7 kB / 0.491 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005878/0.4034, allocations: 4.23 MB / 0.4951 GB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008168/0.4042, allocations: 47.81 kB / 0.4951 GB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.4043, allocations: 20 kB / 0.4952 GB, free: 6.438 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (66): * Single equations (assignments): 64 * 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 {(3,7), (3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003522/0.4046, allocations: 217.7 kB / 0.4954 GB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.4048, allocations: 91.42 kB / 0.4955 GB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.4069, allocations: 0.8832 MB / 0.4963 GB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.4069, allocations: 8 kB / 0.4963 GB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4069, allocations: 3.938 kB / 0.4963 GB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/0.407, allocations: 3.984 kB / 0.4963 GB, free: 5.207 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003535/0.4105, allocations: 2.226 MB / 0.4985 GB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4105, allocations: 4.281 kB / 0.4985 GB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/0.411, allocations: 111.9 kB / 0.4986 GB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.4122, allocations: 281.2 kB / 0.4989 GB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.4122, allocations: 16 kB / 0.4989 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005328/0.4175, allocations: 4.142 MB / 0.5029 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4175, allocations: 4 kB / 0.5029 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.4198, allocations: 1.014 MB / 0.5039 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003807/0.4201, allocations: 228.4 kB / 0.5042 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/0.4202, allocations: 16 kB / 0.5042 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006071/0.4208, allocations: 35.88 kB / 0.5042 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.421, allocations: 59.84 kB / 0.5043 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.666e-05/0.421, allocations: 24 kB / 0.5043 GB, free: 12.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005396/0.4216, allocations: 386.8 kB / 0.5047 GB, free: 12.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4216, allocations: 0 / 0.5047 GB, free: 12.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009819/0.4226, allocations: 315.8 kB / 0.505 GB, free: 11.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (60): * Single equations (assignments): 58 * 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 {(3,7), (3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002695/0.4253, allocations: 1.638 MB / 0.5066 GB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.4273, allocations: 0.8579 MB / 0.5074 GB, free: 9.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4273, allocations: 0 / 0.5074 GB, free: 9.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.4286, allocations: 0.638 MB / 0.508 GB, free: 8.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.4297, allocations: 124 kB / 0.5081 GB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.4401, allocations: 5.905 MB / 0.5139 GB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/0.4408, allocations: 0.9397 MB / 0.5148 GB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003691/0.4412, allocations: 89.03 kB / 0.5149 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/0.4416, allocations: 271.3 kB / 0.5152 GB, free: 1.223 MB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4416, allocations: 0 / 0.5152 GB, free: 1.223 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05592/0.4975, allocations: 20.32 MB / 0.535 GB, free: 12.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/13.92, allocations: 11.86 kB / 0.535 GB, free: 12.86 MB / 414.1 MB " [Timeout remaining time 646] (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad_fmu --startTime=0 --stopTime=3 --stepSize=0.01 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.007407892961055] Failed to read output from testmodel.py, exit status != 0: 14.123848418996204 14.15347933 13.7823348 Calling exit ...