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.001753/0.001753, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00228/0.00228, allocations: 208.8 kB / 23.73 MB, free: 4.387 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1937/0.1937, allocations: 38.55 MB / 352.5 MB, free: 12.3 MB / 286.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",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.00236/0.00236, allocations: 67.89 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3503, allocations: 62.47 MB / 0.5419 GB, free: 120 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.009253/0.3596, allocations: 7.103 MB / 0.5489 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005105/0.3647, allocations: 2.83 MB / 0.5516 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004793/0.3652, allocations: 33.47 kB / 0.5517 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.3673, allocations: 0.7511 MB / 0.5524 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.3691, allocations: 0.7096 MB / 0.5531 GB, free: 7.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.3702, allocations: 382.2 kB / 0.5535 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002013/0.3723, allocations: 1.341 MB / 0.5548 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009954/0.3733, allocations: 0.5546 MB / 0.5553 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.3744, allocations: 0.5726 MB / 0.5559 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.3758, allocations: 0.64 MB / 0.5565 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.376, allocations: 72 kB / 0.5566 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.3774, allocations: 0.4952 MB / 0.5571 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006781/0.3781, allocations: 470.8 kB / 0.5575 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009067/0.379, allocations: 434 kB / 0.5579 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.381, allocations: 1.44 MB / 0.5593 GB, free: 2.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.381, allocations: 0 / 0.5593 GB, free: 2.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.381, allocations: 0 / 0.5593 GB, free: 2.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.904e-05/0.3811, allocations: 0 / 0.5593 GB, free: 2.289 MB / 398.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.002707/0.3838, allocations: 1.226 MB / 0.5605 GB, free: 1.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3838, allocations: 19.98 kB / 0.5605 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.384, allocations: 139.7 kB / 0.5607 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.3853, allocations: 212.1 kB / 0.5609 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.3871, allocations: 0.6461 MB / 0.5615 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.449e-05/0.3871, allocations: 66.12 kB / 0.5616 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002383/0.3874, allocations: 99.78 kB / 0.5617 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.3893, allocations: 1.107 MB / 0.5627 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.3893, allocations: 7.984 kB / 0.5628 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.685e-05/0.3894, allocations: 35.98 kB / 0.5628 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000179/0.3896, allocations: 69.91 kB / 0.5629 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.3912, allocations: 0.886 MB / 0.5637 GB, free: 13.67 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.005901/0.3971, allocations: 3.677 MB / 0.5673 GB, free: 9.809 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006486/0.3977, allocations: 322.8 kB / 0.5676 GB, free: 9.477 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/0.3981, allocations: 265.5 kB / 0.5679 GB, free: 9.211 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.3981, allocations: 11.98 kB / 0.5679 GB, free: 9.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.3982, allocations: 34.56 kB / 0.5679 GB, free: 9.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/0.3982, allocations: 4 kB / 0.5679 GB, free: 9.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004432/0.4026, allocations: 1.928 MB / 0.5698 GB, free: 7.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.4027, allocations: 85.55 kB / 0.5699 GB, free: 7.094 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007767/0.4035, allocations: 0.5809 MB / 0.5705 GB, free: 6.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.4035, allocations: 37.7 kB / 0.5705 GB, free: 6.461 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/0.4039, allocations: 479.7 kB / 0.5709 GB, free: 5.984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.4041, allocations: 206.3 kB / 0.5711 GB, free: 5.781 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.4043, allocations: 146.6 kB / 0.5713 GB, free: 5.629 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002293/0.4046, allocations: 382.7 kB / 0.5716 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.4051, allocations: 269.8 kB / 0.5719 GB, free: 4.984 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/0.4057, allocations: 0.5041 MB / 0.5724 GB, free: 4.375 MB / 414.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.003326/0.4091, allocations: 1.41 MB / 0.5738 GB, free: 2.863 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.4091, allocations: 0 / 0.5738 GB, free: 2.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002066/0.4111, allocations: 1.013 MB / 0.5748 GB, free: 1.828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.4112, allocations: 8 kB / 0.5748 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001316/0.4125, allocations: 0.6874 MB / 0.5754 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000578/0.4131, allocations: 150.5 kB / 0.5756 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/0.4137, allocations: 179.7 kB / 0.5758 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00467/0.4184, allocations: 4.538 MB / 0.5802 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.419, allocations: 39.97 kB / 0.5802 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.419e-05/0.4191, allocations: 32 kB / 0.5803 GB, free: 11.84 MB / 430.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.0006318/0.4197, allocations: 317.4 kB / 0.5806 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.4199, allocations: 79.41 kB / 0.5806 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.4211, allocations: 0.6433 MB / 0.5813 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.4211, allocations: 8.062 kB / 0.5813 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4211, allocations: 4 kB / 0.5813 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4212, allocations: 3.984 kB / 0.5813 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/0.424, allocations: 1.42 MB / 0.5827 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.424, allocations: 8 kB / 0.5827 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000638/0.4246, allocations: 128 kB / 0.5828 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.4247, allocations: 4 kB / 0.5828 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.4247, allocations: 16 kB / 0.5828 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.4247, allocations: 7.938 kB / 0.5828 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.4247, allocations: 3.938 kB / 0.5828 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.4262, allocations: 0.9509 MB / 0.5838 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.4265, allocations: 103.6 kB / 0.5839 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.503e-05/0.4266, allocations: 19.89 kB / 0.5839 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.4269, allocations: 31.97 kB / 0.5839 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.427, allocations: 36.31 kB / 0.5839 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.4271, allocations: 16 kB / 0.584 GB, free: 7.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006271/0.4277, allocations: 411 kB / 0.5843 GB, free: 7.527 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4277, allocations: 0 / 0.5843 GB, free: 7.527 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008788/0.4286, allocations: 231.9 kB / 0.5846 GB, free: 7.301 MB / 430.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.002035/0.4306, allocations: 1.534 MB / 0.5861 GB, free: 5.719 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.4323, allocations: 0.988 MB / 0.587 GB, free: 4.699 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.4324, allocations: 4 kB / 0.587 GB, free: 4.695 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004427/0.4328, allocations: 250.2 kB / 0.5873 GB, free: 4.449 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008598/0.4337, allocations: 161.4 kB / 0.5874 GB, free: 4.301 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.4451, allocations: 7.016 MB / 0.5943 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.4457, allocations: 486.5 kB / 0.5947 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006142/0.4463, allocations: 201.8 kB / 0.5949 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004956/0.4468, allocations: 327.3 kB / 0.5952 GB, free: 11.91 MB / 446.1 MB Notification: Performance of SimCode: time 1.673e-06/0.4468, allocations: 0 / 0.5952 GB, free: 11.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05923/0.506, allocations: 17.06 MB / 0.6119 GB, free: 11.05 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.67, allocations: 0 / 0.6119 GB, free: 11.05 MB / 462.1 MB " [Timeout remaining time 647] (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.498202580958605] Failed to read output from testmodel.py, exit status != 0: 12.792083626613021 12.80941728 12.42503369 Calling exit ...