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.001414/0.001414, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002392/0.002392, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.714/1.714, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.0715/0.0715, allocations: 14.39 MB / 300.5 MB, free: 7.43 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.002204/0.002204, allocations: 71.02 kB / 421.4 MB, free: 39.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09467/0.09688, allocations: 52.9 MB / 474.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad): time 0.009985/0.1069, allocations: 6.964 MB / 481.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005847/0.1127, allocations: 3.436 MB / 484.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006488/0.1134, allocations: 23.88 kB / 484.7 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.1144, allocations: 381.8 kB / 485.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003942/0.1184, allocations: 1.533 MB / 486.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.1191, allocations: 334.3 kB / 487 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002201/0.1213, allocations: 1.856 MB / 488.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.1215, allocations: 82.33 kB / 488.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009889/0.1225, allocations: 0.6577 MB / 489.6 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009196/0.1235, allocations: 0.6303 MB / 490.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.1236, allocations: 64 kB / 490.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007866/0.1243, allocations: 339.8 kB / 490.6 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.1245, allocations: 175.2 kB / 490.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005326/0.125, allocations: 0.5364 MB / 491.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.127, allocations: 1.436 MB / 492.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.127, allocations: 0 / 492.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.127, allocations: 0 / 492.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.1271, allocations: 0 / 492.7 MB, free: 15.77 MB / 366.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.004994/0.1321, allocations: 1.556 MB / 494.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.1321, allocations: 12.03 kB / 494.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.966e-05/0.1321, allocations: 22.19 kB / 494.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/0.1323, allocations: 106.7 kB / 494.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006481/0.1329, allocations: 156.3 kB / 494.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.1344, allocations: 0.6393 MB / 495.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.1344, allocations: 50 kB / 495.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.578e-05/0.1345, allocations: 60 kB / 495.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.1357, allocations: 0.6708 MB / 496 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.1357, allocations: 0 / 496 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/0.1357, allocations: 31.88 kB / 496 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.1357, allocations: 16 kB / 496.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.137, allocations: 0.6388 MB / 496.7 MB, free: 11.72 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.007344/0.1444, allocations: 4.426 MB / 0.4894 GB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.1459, allocations: 0.6406 MB / 0.49 GB, free: 6.105 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/0.1464, allocations: 241.6 kB / 0.4902 GB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-05/0.1464, allocations: 8 kB / 0.4902 GB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.1465, allocations: 50.98 kB / 0.4903 GB, free: 5.797 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 3.717e-06/0.1465, allocations: 0 / 0.4903 GB, free: 5.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.004125/0.1506, allocations: 1.273 MB / 0.4915 GB, free: 4.512 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.1507, allocations: 89.05 kB / 0.4916 GB, free: 4.406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008462/0.1515, allocations: 0.5499 MB / 0.4921 GB, free: 3.848 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.1516, allocations: 37.7 kB / 0.4922 GB, free: 3.805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.1518, allocations: 325.1 kB / 0.4925 GB, free: 3.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.1521, allocations: 293.5 kB / 0.4928 GB, free: 3.191 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.1524, allocations: 110.6 kB / 0.4929 GB, free: 3.078 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.1526, allocations: 374.8 kB / 0.4932 GB, free: 2.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.153, allocations: 193.9 kB / 0.4934 GB, free: 2.516 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.1534, allocations: 261.3 kB / 0.4937 GB, free: 2.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008758/0.1543, allocations: 0.4915 MB / 0.4942 GB, free: 1.746 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1543, allocations: 0 / 0.4942 GB, free: 1.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002134/0.1564, allocations: 0.8528 MB / 0.495 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.1565, allocations: 8 kB / 0.495 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.1565, allocations: 3.938 kB / 0.495 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.1578, allocations: 281.4 kB / 0.4953 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005438/0.1583, allocations: 139.7 kB / 0.4954 GB, free: 460 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005859/0.1642, allocations: 4.027 MB / 0.4993 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008521/0.165, allocations: 47.83 kB / 0.4994 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/0.1651, allocations: 23.98 kB / 0.4994 GB, free: 12.14 MB / 382.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.0003726/0.1655, allocations: 213.7 kB / 0.4996 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/0.1657, allocations: 87.42 kB / 0.4997 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.1679, allocations: 0.8832 MB / 0.5005 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1679, allocations: 8 kB / 0.5006 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1679, allocations: 7.938 kB / 0.5006 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.1679, allocations: 3.984 kB / 0.5006 GB, free: 10.91 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.003978/0.1719, allocations: 2.194 MB / 0.5027 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.1719, allocations: 0 / 0.5027 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.1724, allocations: 111.9 kB / 0.5028 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.1737, allocations: 285.4 kB / 0.5031 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.1737, allocations: 12 kB / 0.5031 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005806/0.1795, allocations: 3.935 MB / 0.5069 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1795, allocations: 0 / 0.5069 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.1819, allocations: 1.022 MB / 0.5079 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005887/0.1825, allocations: 151.3 kB / 0.5081 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/0.1827, allocations: 16 kB / 0.5081 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009086/0.1836, allocations: 27.92 kB / 0.5081 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.1839, allocations: 59.88 kB / 0.5082 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.1839, allocations: 20 kB / 0.5082 GB, free: 2.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008377/0.1848, allocations: 390.8 kB / 0.5086 GB, free: 2.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1848, allocations: 4 kB / 0.5086 GB, free: 2.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001381/0.1861, allocations: 311.8 kB / 0.5089 GB, free: 2.008 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.002867/0.189, allocations: 1.639 MB / 0.5105 GB, free: 344 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.1911, allocations: 0.862 MB / 0.5113 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.1911, allocations: 0 / 0.5113 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.1924, allocations: 0.6337 MB / 0.5119 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.1934, allocations: 136.8 kB / 0.5121 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.2042, allocations: 5.917 MB / 0.5178 GB, free: 8.629 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006465/0.2048, allocations: 0.9359 MB / 0.5188 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003545/0.2052, allocations: 96.95 kB / 0.5189 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004213/0.2056, allocations: 267.3 kB / 0.5191 GB, free: 7.301 MB / 398.1 MB Notification: Performance of SimCode: time 1.072e-06/0.2056, allocations: 3.938 kB / 0.5191 GB, free: 7.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.27/0.4756, allocations: 20.91 MB / 0.5395 GB, free: 57.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/14.73, allocations: 4.281 kB / 0.5395 GB, free: 57.75 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: 17.962467748031486] Failed to read output from testmodel.py, exit status != 0: 14.91259382799035 14.925618059 14.796109997 Calling exit ...