Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.001398/0.001398, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001541/0.001541, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.531/1.531, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1837/0.1837, allocations: 38.5 MB / 349.4 MB, free: 2.602 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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 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(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems 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.001954/0.001954, allocations: 64.19 kB / 487.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1186, allocations: 62.42 MB / 0.5374 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.009945/0.1286, allocations: 7.537 MB / 0.5447 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00598/0.1346, allocations: 3.057 MB / 0.5477 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007155/0.1353, allocations: 35.69 kB / 0.5478 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.1377, allocations: 0.7896 MB / 0.5485 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.1398, allocations: 0.7038 MB / 0.5492 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.141, allocations: 379.2 kB / 0.5496 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00197/0.143, allocations: 1.328 MB / 0.5509 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009965/0.144, allocations: 0.5964 MB / 0.5514 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.1451, allocations: 0.5682 MB / 0.552 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.1464, allocations: 0.6736 MB / 0.5527 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002055/0.1466, allocations: 72 kB / 0.5527 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.1478, allocations: 0.5069 MB / 0.5532 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005271/0.1483, allocations: 462.8 kB / 0.5537 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006142/0.1489, allocations: 0.5053 MB / 0.5542 GB, free: 6.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.1509, allocations: 1.436 MB / 0.5556 GB, free: 4.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1509, allocations: 0 / 0.5556 GB, free: 4.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1509, allocations: 3.938 kB / 0.5556 GB, free: 4.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.077e-05/0.1509, allocations: 4 kB / 0.5556 GB, free: 4.836 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002522/0.1534, allocations: 1.299 MB / 0.5568 GB, free: 3.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.1535, allocations: 12.03 kB / 0.5569 GB, free: 3.469 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.812e-05/0.1535, allocations: 26.17 kB / 0.5569 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002167/0.1537, allocations: 135.7 kB / 0.557 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.1552, allocations: 212.1 kB / 0.5572 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.1569, allocations: 0.7182 MB / 0.5579 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/0.1569, allocations: 65.92 kB / 0.558 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/0.1572, allocations: 103.9 kB / 0.5581 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.1592, allocations: 1.107 MB / 0.5592 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.1592, allocations: 4 kB / 0.5592 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.5e-05/0.1593, allocations: 35.98 kB / 0.5592 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001795/0.1595, allocations: 73.95 kB / 0.5593 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.161, allocations: 0.886 MB / 0.5601 GB, free: 16 kB / 414.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.006432/0.1674, allocations: 4.071 MB / 0.5641 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006961/0.1681, allocations: 408.8 kB / 0.5645 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004203/0.1685, allocations: 256.7 kB / 0.5647 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.1686, allocations: 7.984 kB / 0.5647 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.1686, allocations: 38.56 kB / 0.5648 GB, free: 10.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=45): time 2.705e-06/0.1686, allocations: 0 / 0.5648 GB, free: 10.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=52): time 0.004814/0.1734, allocations: 2 MB / 0.5667 GB, free: 8.941 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.1735, allocations: 85.55 kB / 0.5668 GB, free: 8.836 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007594/0.1743, allocations: 0.5694 MB / 0.5674 GB, free: 8.258 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.1743, allocations: 33.83 kB / 0.5674 GB, free: 8.219 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.1747, allocations: 491.6 kB / 0.5679 GB, free: 7.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.1749, allocations: 194.4 kB / 0.5681 GB, free: 7.539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.1751, allocations: 150.5 kB / 0.5682 GB, free: 7.387 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.1753, allocations: 382.7 kB / 0.5686 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/0.1758, allocations: 269.8 kB / 0.5688 GB, free: 6.738 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006852/0.1765, allocations: 0.5042 MB / 0.5693 GB, free: 6.125 MB / 430.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/0.1799, allocations: 1.408 MB / 0.5707 GB, free: 4.617 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.1799, allocations: 4 kB / 0.5707 GB, free: 4.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002219/0.1822, allocations: 1.099 MB / 0.5718 GB, free: 3.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.1822, allocations: 12.03 kB / 0.5718 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001366/0.1836, allocations: 0.7482 MB / 0.5725 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005971/0.1842, allocations: 158.4 kB / 0.5727 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006589/0.1848, allocations: 183.6 kB / 0.5728 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/0.1897, allocations: 4.84 MB / 0.5776 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006599/0.1903, allocations: 43.92 kB / 0.5776 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.274e-05/0.1904, allocations: 39.98 kB / 0.5776 GB, free: 13.01 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005819/0.191, allocations: 325.8 kB / 0.578 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.1911, allocations: 71.52 kB / 0.578 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.1923, allocations: 0.6395 MB / 0.5786 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.1923, allocations: 4 kB / 0.5787 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1923, allocations: 4 kB / 0.5787 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.1924, allocations: 3.984 kB / 0.5787 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.1951, allocations: 1.518 MB / 0.5801 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.1951, allocations: 4 kB / 0.5801 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006229/0.1957, allocations: 124.1 kB / 0.5803 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.1957, allocations: 4 kB / 0.5803 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.1958, allocations: 16.08 kB / 0.5803 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.1958, allocations: 7.938 kB / 0.5803 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.1958, allocations: 7.938 kB / 0.5803 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.1972, allocations: 0.9566 MB / 0.5812 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.1975, allocations: 188.6 kB / 0.5814 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.915e-05/0.1976, allocations: 16 kB / 0.5814 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.198, allocations: 19.97 kB / 0.5814 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-05/0.198, allocations: 36.34 kB / 0.5815 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.1981, allocations: 19.98 kB / 0.5815 GB, free: 8.906 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006049/0.1987, allocations: 411 kB / 0.5819 GB, free: 8.508 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1987, allocations: 0 / 0.5819 GB, free: 8.508 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001026/0.1997, allocations: 235.9 kB / 0.5821 GB, free: 8.277 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002134/0.2018, allocations: 1.535 MB / 0.5836 GB, free: 6.695 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.2037, allocations: 0.9871 MB / 0.5846 GB, free: 5.672 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2037, allocations: 0 / 0.5846 GB, free: 5.672 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.2041, allocations: 255.9 kB / 0.5848 GB, free: 5.422 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009363/0.2051, allocations: 147.2 kB / 0.585 GB, free: 5.277 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2589/0.464, allocations: 7.148 MB / 0.5919 GB, free: 49.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/0.4646, allocations: 1.079 MB / 0.593 GB, free: 48.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006253/0.4652, allocations: 202.4 kB / 0.5932 GB, free: 48.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/0.4656, allocations: 324.7 kB / 0.5935 GB, free: 48.45 MB / 446.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4656, allocations: 0.875 kB / 0.5935 GB, free: 48.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04699/0.5126, allocations: 16.17 MB / 0.6093 GB, free: 43.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.1, allocations: 13.56 kB / 0.6093 GB, free: 43.91 MB / 446.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PowerAngle_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PowerAngle.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.071576635004021] Failed to read output from testmodel.py, exit status != 0: 12.253459948988166 12.264184102 12.111056562 Calling exit ...