Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001399/0.001399, allocations: 116.2 kB / 18.49 MB, free: 4.582 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.001477/0.001477, allocations: 214.9 kB / 21.46 MB, free: 1.629 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.523/1.523, allocations: 230.6 MB / 254.8 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1872/0.1872, allocations: 38.51 MB / 349.4 MB, free: 2.582 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_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.002917/0.002917, allocations: 60.89 kB / 487.8 MB, free: 32.33 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1453, allocations: 62.42 MB / 0.5374 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.01401/0.1593, allocations: 7.531 MB / 0.5447 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007807/0.1671, allocations: 3.073 MB / 0.5477 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007959/0.1679, allocations: 35.69 kB / 0.5478 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002945/0.1709, allocations: 0.7857 MB / 0.5485 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.1735, allocations: 0.6921 MB / 0.5492 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.175, allocations: 383.2 kB / 0.5496 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002926/0.1779, allocations: 1.332 MB / 0.5509 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.1794, allocations: 0.5925 MB / 0.5514 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.1808, allocations: 0.576 MB / 0.552 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.1825, allocations: 0.6696 MB / 0.5527 GB, free: 9.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.1827, allocations: 76 kB / 0.5527 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.1842, allocations: 0.4991 MB / 0.5532 GB, free: 9.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006735/0.1849, allocations: 470.7 kB / 0.5537 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007738/0.1857, allocations: 0.5015 MB / 0.5542 GB, free: 8.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002494/0.1882, allocations: 1.44 MB / 0.5556 GB, free: 6.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1882, allocations: 3.938 kB / 0.5556 GB, free: 6.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1882, allocations: 4 kB / 0.5556 GB, free: 6.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.1882, allocations: 3.938 kB / 0.5556 GB, free: 6.773 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.003344/0.1915, allocations: 1.295 MB / 0.5568 GB, free: 5.422 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.1916, allocations: 8.031 kB / 0.5569 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.473e-05/0.1916, allocations: 22.19 kB / 0.5569 GB, free: 5.395 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002485/0.1919, allocations: 143.7 kB / 0.557 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/0.194, allocations: 212.1 kB / 0.5572 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.1961, allocations: 0.7182 MB / 0.5579 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.689e-05/0.1962, allocations: 65.94 kB / 0.558 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.1966, allocations: 95.92 kB / 0.5581 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.1992, allocations: 1.119 MB / 0.5592 GB, free: 2.953 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.1992, allocations: 3.938 kB / 0.5592 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.1994, allocations: 32 kB / 0.5592 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002584/0.1996, allocations: 69.97 kB / 0.5593 GB, free: 2.852 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.202, allocations: 0.8899 MB / 0.5601 GB, free: 1.957 MB / 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.008275/0.2102, allocations: 4.063 MB / 0.5641 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009213/0.2112, allocations: 409 kB / 0.5645 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005885/0.2117, allocations: 256.6 kB / 0.5647 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.491e-05/0.2118, allocations: 7.984 kB / 0.5647 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.2119, allocations: 38.55 kB / 0.5648 GB, free: 12.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=45): time 3.496e-06/0.2119, allocations: 0 / 0.5648 GB, free: 12.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=52): time 0.005019/0.2169, allocations: 2.007 MB / 0.5667 GB, free: 10.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.2169, allocations: 85.48 kB / 0.5668 GB, free: 10.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007278/0.2177, allocations: 0.5656 MB / 0.5674 GB, free: 10.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.2177, allocations: 41.7 kB / 0.5674 GB, free: 10.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000371/0.2181, allocations: 479.7 kB / 0.5679 GB, free: 9.684 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.2183, allocations: 198.4 kB / 0.5681 GB, free: 9.488 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.2185, allocations: 150.5 kB / 0.5682 GB, free: 9.336 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.2187, allocations: 378.7 kB / 0.5686 GB, free: 8.957 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.2192, allocations: 277.8 kB / 0.5688 GB, free: 8.684 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/0.2198, allocations: 0.5043 MB / 0.5693 GB, free: 8.07 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.003408/0.2232, allocations: 1.408 MB / 0.5707 GB, free: 6.559 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.2233, allocations: 4 kB / 0.5707 GB, free: 6.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002114/0.2254, allocations: 1.088 MB / 0.5718 GB, free: 5.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.2254, allocations: 8 kB / 0.5718 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001348/0.2267, allocations: 0.756 MB / 0.5725 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005562/0.2273, allocations: 166.5 kB / 0.5727 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/0.2279, allocations: 171.7 kB / 0.5728 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004824/0.2328, allocations: 4.848 MB / 0.5776 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.2334, allocations: 43.92 kB / 0.5776 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.313e-05/0.2335, allocations: 39.92 kB / 0.5776 GB, free: 14.95 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.0006674/0.2342, allocations: 322.3 kB / 0.578 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.2344, allocations: 71.5 kB / 0.578 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.2356, allocations: 0.6395 MB / 0.5786 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.2356, allocations: 8 kB / 0.5787 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2356, allocations: 0 / 0.5787 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.2357, allocations: 3.984 kB / 0.5787 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.2385, allocations: 1.514 MB / 0.5801 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.2385, allocations: 8.172 kB / 0.5801 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006561/0.2392, allocations: 127.8 kB / 0.5803 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.2392, allocations: 4 kB / 0.5803 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.375e-05/0.2392, allocations: 19.98 kB / 0.5803 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/0.2393, allocations: 4 kB / 0.5803 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.2393, allocations: 3.938 kB / 0.5803 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.2408, allocations: 0.9489 MB / 0.5812 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.2411, allocations: 188.6 kB / 0.5814 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.2412, allocations: 16 kB / 0.5814 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.2416, allocations: 23.98 kB / 0.5814 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.2417, allocations: 36.33 kB / 0.5815 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.2417, allocations: 19.98 kB / 0.5815 GB, free: 10.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006572/0.2424, allocations: 411 kB / 0.5819 GB, free: 10.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2424, allocations: 7.875 kB / 0.5819 GB, free: 10.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001008/0.2434, allocations: 227.9 kB / 0.5821 GB, free: 10.22 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.00218/0.2456, allocations: 1.539 MB / 0.5836 GB, free: 8.641 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002051/0.2476, allocations: 0.9831 MB / 0.5846 GB, free: 7.625 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.2476, allocations: 4 kB / 0.5846 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.2481, allocations: 247.8 kB / 0.5848 GB, free: 7.375 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.2491, allocations: 155.5 kB / 0.585 GB, free: 7.223 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.2617, allocations: 7.152 MB / 0.5919 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009549/0.2627, allocations: 1.082 MB / 0.593 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006027/0.2633, allocations: 205.8 kB / 0.5932 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005523/0.2639, allocations: 319.3 kB / 0.5935 GB, free: 14.06 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2639, allocations: 0 / 0.5935 GB, free: 14.06 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2992/0.5631, allocations: 16.13 MB / 0.6093 GB, free: 64.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.09, allocations: 17.53 kB / 0.6093 GB, free: 64.62 MB / 462.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.05449445603881] Failed to read output from testmodel.py, exit status != 0: 12.243762336031068 12.259538641 12.067887929 Calling exit ...