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.001969/0.001969, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00242/0.00242, allocations: 220.2 kB / 23.03 MB, free: 4.945 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.731/1.731, allocations: 207.7 MB / 233.9 MB, free: 9.781 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.06759/0.06759, allocations: 14.39 MB / 300.5 MB, free: 7.258 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.002188/0.002188, allocations: 71.91 kB / 421.4 MB, free: 39.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1065, allocations: 52.9 MB / 474.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad): time 0.008153/0.1147, allocations: 6.154 MB / 480.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006998/0.1217, allocations: 3.16 MB / 483.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.1232, allocations: 23.88 kB / 483.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.1248, allocations: 361.9 kB / 484 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005366/0.1302, allocations: 1.472 MB / 485.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.1313, allocations: 303.1 kB / 485.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003269/0.1346, allocations: 1.86 MB / 487.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/0.1349, allocations: 82.31 kB / 487.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.1364, allocations: 0.6577 MB / 488.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.1378, allocations: 0.6342 MB / 489 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.138, allocations: 64 kB / 489.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.1393, allocations: 343.8 kB / 489.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002696/0.1396, allocations: 163.2 kB / 489.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009885/0.1405, allocations: 453.8 kB / 490 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.143, allocations: 1.44 MB / 491.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.143, allocations: 4 kB / 491.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.143, allocations: 3.938 kB / 491.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.027e-05/0.1431, allocations: 0 / 491.4 MB, free: 0.8711 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.005664/0.1487, allocations: 1.56 MB / 493 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.1488, allocations: 12.03 kB / 493 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.422e-05/0.1488, allocations: 18.19 kB / 493 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001929/0.149, allocations: 106.7 kB / 493.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007557/0.1498, allocations: 148.3 kB / 493.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.1513, allocations: 0.6471 MB / 493.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/0.1514, allocations: 49.94 kB / 494 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.1515, allocations: 68 kB / 494.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.1528, allocations: 0.663 MB / 494.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.1528, allocations: 7.922 kB / 494.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/0.1529, allocations: 28 kB / 494.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.1529, allocations: 16 kB / 494.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.1541, allocations: 0.6349 MB / 495.4 MB, free: 12.82 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 preOpt removeSimpleEquations (simulation): time 0.005413/0.1596, allocations: 2.168 MB / 497.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.161, allocations: 0.6369 MB / 498.2 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/0.1615, allocations: 237.6 kB / 498.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.165e-05/0.1615, allocations: 8 kB / 498.4 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.1616, allocations: 42.88 kB / 498.5 MB, free: 9.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.885e-06/0.1616, allocations: 0 / 498.5 MB, free: 9.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.004194/0.1658, allocations: 1.281 MB / 499.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/0.1658, allocations: 85.11 kB / 499.8 MB, free: 8.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008426/0.1667, allocations: 0.546 MB / 0.4887 GB, free: 7.695 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.1667, allocations: 45.62 kB / 0.4887 GB, free: 7.645 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.167, allocations: 329 kB / 0.489 GB, free: 7.316 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003528/0.1674, allocations: 281.5 kB / 0.4893 GB, free: 7.039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.1676, allocations: 114.6 kB / 0.4894 GB, free: 6.922 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.1678, allocations: 374.8 kB / 0.4898 GB, free: 6.547 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/0.1682, allocations: 197.9 kB / 0.4899 GB, free: 6.355 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.1687, allocations: 261.3 kB / 0.4902 GB, free: 6.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008656/0.1695, allocations: 0.4915 MB / 0.4907 GB, free: 5.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1695, allocations: 0 / 0.4907 GB, free: 5.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002084/0.1716, allocations: 0.8528 MB / 0.4915 GB, free: 4.719 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1716, allocations: 4 kB / 0.4915 GB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1717, allocations: 3.938 kB / 0.4915 GB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.173, allocations: 281.4 kB / 0.4918 GB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.1736, allocations: 135.7 kB / 0.4919 GB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005828/0.1794, allocations: 3.961 MB / 0.4958 GB, free: 120 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009473/0.1803, allocations: 43.81 kB / 0.4958 GB, free: 76 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.791e-05/0.1804, allocations: 24 kB / 0.4958 GB, free: 52 kB / 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.0004891/0.1809, allocations: 217.7 kB / 0.4961 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003263/0.1812, allocations: 91.36 kB / 0.4961 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/0.1834, allocations: 0.8793 MB / 0.497 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.1835, allocations: 8 kB / 0.497 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.1835, allocations: 7.938 kB / 0.497 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.1835, allocations: 3.984 kB / 0.497 GB, free: 14.82 MB / 382.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.003574/0.187, allocations: 1.721 MB / 0.4987 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1871, allocations: 288 / 0.4987 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/0.1875, allocations: 119.8 kB / 0.4988 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.1888, allocations: 281.2 kB / 0.4991 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/0.1888, allocations: 12 kB / 0.4991 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005394/0.1942, allocations: 3.872 MB / 0.5029 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.1942, allocations: 0 / 0.5029 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/0.1965, allocations: 1.026 MB / 0.5039 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004735/0.197, allocations: 151.3 kB / 0.504 GB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.1972, allocations: 12 kB / 0.504 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007286/0.1979, allocations: 31.92 kB / 0.5041 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.1981, allocations: 59.88 kB / 0.5041 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.1981, allocations: 20 kB / 0.5041 GB, free: 7.211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006403/0.1987, allocations: 394.8 kB / 0.5045 GB, free: 6.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1987, allocations: 0 / 0.5045 GB, free: 6.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001128/0.1999, allocations: 311.8 kB / 0.5048 GB, free: 6.523 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.002731/0.2026, allocations: 1.635 MB / 0.5064 GB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.2045, allocations: 0.862 MB / 0.5073 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2045, allocations: 7.875 kB / 0.5073 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.2057, allocations: 0.6258 MB / 0.5079 GB, free: 3.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009864/0.2067, allocations: 125.8 kB / 0.508 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.218, allocations: 5.921 MB / 0.5138 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.2184, allocations: 349.5 kB / 0.5141 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003467/0.2187, allocations: 85.05 kB / 0.5142 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004312/0.2192, allocations: 267.3 kB / 0.5144 GB, free: 12.43 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2192, allocations: 0 / 0.5144 GB, free: 12.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3172/0.5364, allocations: 20.93 MB / 0.5349 GB, free: 61.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/14.96, allocations: 2.938 kB / 0.5349 GB, free: 61.04 MB / 398.1 MB " [Timeout remaining time 645] (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: 18.174519491032697] Failed to read output from testmodel.py, exit status != 0: 15.147952390019782 15.171869551 15.024741289 Calling exit ...