Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.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.001689/0.001689, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002237/0.002237, allocations: 218.9 kB / 23.04 MB, free: 5.078 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.482/1.482, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.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.06891/0.06891, allocations: 14.39 MB / 300.5 MB, free: 7.441 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.OneBusImpedanceVariableVoltageOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad",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.002164/0.002164, allocations: 69.31 kB / 421.4 MB, free: 39.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08103/0.0832, allocations: 52.9 MB / 474.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.005757/0.08895, allocations: 4.332 MB / 478.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004547/0.0935, allocations: 2.505 MB / 481.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000414/0.09391, allocations: 7.938 kB / 481.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008091/0.09472, allocations: 258.5 kB / 481.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.09735, allocations: 1.119 MB / 482.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005834/0.09793, allocations: 266.4 kB / 482.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.0992, allocations: 0.9647 MB / 483.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.09935, allocations: 57.88 kB / 483.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004441/0.09979, allocations: 342.7 kB / 484.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.1002, allocations: 342.6 kB / 484.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.505e-05/0.1003, allocations: 32 kB / 484.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005973/0.1009, allocations: 271.8 kB / 484.8 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.542e-05/0.101, allocations: 87.56 kB / 484.9 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.1013, allocations: 290.5 kB / 485.2 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.1024, allocations: 0.8253 MB / 486 MB, free: 6.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1024, allocations: 0 / 486 MB, free: 6.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1024, allocations: 4 kB / 486 MB, free: 6.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.1024, allocations: 0 / 486 MB, free: 6.551 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002739/0.1051, allocations: 0.949 MB / 486.9 MB, free: 5.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1052, allocations: 8.031 kB / 486.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.95e-05/0.1052, allocations: 13.19 kB / 487 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.93e-05/0.1053, allocations: 70.72 kB / 487 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/0.1056, allocations: 80.58 kB / 487.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007713/0.1064, allocations: 393.6 kB / 487.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.1064, allocations: 25.38 kB / 487.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.319e-05/0.1064, allocations: 39.94 kB / 487.6 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006396/0.1071, allocations: 379 kB / 487.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1071, allocations: 4 kB / 487.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.1071, allocations: 12 kB / 487.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.1071, allocations: 12 kB / 488 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006401/0.1078, allocations: 343.7 kB / 488.3 MB, free: 4.172 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.003272/0.1111, allocations: 2.345 MB / 490.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009804/0.112, allocations: 390.9 kB / 491 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.1123, allocations: 124.8 kB / 491.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.1123, allocations: 8 kB / 491.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1124, allocations: 34.56 kB / 491.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 3.586e-06/0.1124, allocations: 4 kB / 491.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.002457/0.1148, allocations: 0.7326 MB / 491.9 MB, free: 224 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.1149, allocations: 59.53 kB / 492 MB, free: 152 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/0.1153, allocations: 349.7 kB / 492.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.1154, allocations: 33.64 kB / 492.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.1155, allocations: 204.9 kB / 492.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.1156, allocations: 142.8 kB / 492.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.1158, allocations: 65.66 kB / 492.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1159, allocations: 346.8 kB / 493.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.1161, allocations: 107.7 kB / 493.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.1164, allocations: 131 kB / 493.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.1169, allocations: 265.9 kB / 493.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.1169, allocations: 0 / 493.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001142/0.118, allocations: 481.2 kB / 494.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.118, allocations: 4 kB / 494.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.118, allocations: 0 / 494.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007508/0.1188, allocations: 169.6 kB / 494.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.1191, allocations: 79.89 kB / 494.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/0.1223, allocations: 2.132 MB / 496.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.1226, allocations: 23.88 kB / 496.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.1227, allocations: 12 kB / 496.5 MB, free: 11.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 30 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002261/0.1229, allocations: 165.7 kB / 496.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.254e-05/0.123, allocations: 47.72 kB / 496.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.1242, allocations: 0.5104 MB / 497.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.1242, allocations: 4 kB / 497.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.1242, allocations: 0 / 497.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1243, allocations: 3.984 kB / 497.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.1262, allocations: 1.169 MB / 498.4 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1262, allocations: 0 / 498.4 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.1266, allocations: 79.89 kB / 498.4 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006979/0.1273, allocations: 156.6 kB / 498.6 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.1273, allocations: 15.88 kB / 498.6 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/0.1301, allocations: 2.08 MB / 0.489 GB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1301, allocations: 0 / 0.489 GB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.1314, allocations: 0.5832 MB / 0.4895 GB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.1316, allocations: 79.66 kB / 0.4896 GB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.1316, allocations: 7.938 kB / 0.4896 GB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.132, allocations: 16 kB / 0.4896 GB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.181e-05/0.1321, allocations: 35.92 kB / 0.4897 GB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.1321, allocations: 15.94 kB / 0.4897 GB, free: 6.297 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002967/0.1324, allocations: 247.2 kB / 0.4899 GB, free: 6.055 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1324, allocations: 0 / 0.4899 GB, free: 6.055 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005802/0.133, allocations: 175.8 kB / 0.4901 GB, free: 5.883 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001603/0.1346, allocations: 1.162 MB / 0.4912 GB, free: 4.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.1356, allocations: 482.2 kB / 0.4917 GB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1356, allocations: 4.062 kB / 0.4917 GB, free: 4.203 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006936/0.1363, allocations: 358.7 kB / 0.492 GB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.1369, allocations: 74.52 kB / 0.4921 GB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006008/0.1429, allocations: 3.663 MB / 0.4957 GB, free: 12 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000514/0.1434, allocations: 0.8206 MB / 0.4965 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.1436, allocations: 47.33 kB / 0.4965 GB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.1438, allocations: 151.3 kB / 0.4967 GB, free: 14.97 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.1438, allocations: 0 / 0.4967 GB, free: 14.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04148/0.1853, allocations: 11.94 MB / 0.5083 GB, free: 3.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/13.79, allocations: 11.67 kB / 0.5083 GB, free: 3.035 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad_fmu --startTime=0 --stopTime=3 --stepSize=0.01 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.579811691015493] Failed to read output from testmodel.py, exit status != 0: 13.972631288983393 13.994515888 13.888331198 Calling exit ...