Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.002243/0.002243, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.002618/0.002618, allocations: 166 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9597/0.9597, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.2496/0.2496, allocations: 29.43 MB / 290.1 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 431.8 MB, free: 12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.75e-05, allocations: 2.281 kB / 431.8 MB, free: 12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.002429/0.002446, allocations: 2.186 MB / 434 MB, free: 9.789 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.004713, allocations: 1.899 MB / 435.9 MB, free: 7.879 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.004768, allocations: 3.938 kB / 435.9 MB, free: 7.875 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.004945, allocations: 19.84 kB / 435.9 MB, free: 7.855 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.005052, allocations: 27.78 kB / 436 MB, free: 7.828 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.007075, allocations: 0.9804 MB / 436.9 MB, free: 6.848 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.007192, allocations: 79.69 kB / 437 MB, free: 6.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.007232, allocations: 4.125 kB / 437 MB, free: 6.766 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.007367, allocations: 47.89 kB / 437.1 MB, free: 6.719 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.007437, allocations: 39.88 kB / 437.1 MB, free: 6.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.00745, allocations: 4 kB / 437.1 MB, free: 6.676 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.009486, allocations: 1.906 MB / 439 MB, free: 4.766 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.183e-05/0.009548, allocations: 47.8 kB / 439.1 MB, free: 4.719 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.009591, allocations: 27.86 kB / 439.1 MB, free: 4.691 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.01126, allocations: 1.531 MB / 440.6 MB, free: 3.156 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.01126, allocations: 0 / 440.6 MB, free: 3.156 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.01126, allocations: 0 / 440.6 MB, free: 3.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.01127, allocations: 3.938 kB / 440.6 MB, free: 3.152 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004823/0.01175, allocations: 0.5369 MB / 441.2 MB, free: 2.578 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.01179, allocations: 11.98 kB / 441.2 MB, free: 2.566 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.01183, allocations: 50.67 kB / 441.2 MB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.01186, allocations: 20.75 kB / 441.2 MB, free: 2.488 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.012, allocations: 157.4 kB / 441.4 MB, free: 2.309 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.01201, allocations: 12.11 kB / 441.4 MB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.01202, allocations: 4 kB / 441.4 MB, free: 2.293 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.01222, allocations: 220.3 kB / 441.6 MB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.01223, allocations: 0 / 441.6 MB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.01224, allocations: 4 kB / 441.6 MB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.01225, allocations: 0 / 441.6 MB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.01237, allocations: 189.9 kB / 441.8 MB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.01249, allocations: 177.2 kB / 442 MB, free: 1.656 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.01264, allocations: 216.4 kB / 442.2 MB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.01275, allocations: 194.8 kB / 442.4 MB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-06/0.01276, allocations: 4 kB / 442.4 MB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.01278, allocations: 30.56 kB / 442.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 9.01e-07/0.01278, allocations: 0 / 442.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005168/0.0133, allocations: 0.7053 MB / 443.1 MB, free: 468 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.01334, allocations: 105 kB / 443.2 MB, free: 344 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.01344, allocations: 170.2 kB / 443.4 MB, free: 164 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.01346, allocations: 29.7 kB / 443.4 MB, free: 128 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.0135, allocations: 108.8 kB / 443.5 MB, free: 16 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1953/0.2088, allocations: 129.6 kB / 443.7 MB, free: 54.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.669e-05/0.2089, allocations: 36.25 kB / 443.7 MB, free: 54.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.299e-05/0.2089, allocations: 332.9 kB / 444 MB, free: 53.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.2092, allocations: 195 kB / 444.2 MB, free: 53.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.2093, allocations: 188 kB / 444.4 MB, free: 53.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.2097, allocations: 444.2 kB / 444.8 MB, free: 53.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.2097, allocations: 4.281 kB / 444.8 MB, free: 53.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004354/0.2101, allocations: 471.8 kB / 445.3 MB, free: 53.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.262e-05/0.2102, allocations: 87.08 kB / 445.4 MB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2102, allocations: 0 / 445.4 MB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.2102, allocations: 0 / 445.4 MB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-06/0.2102, allocations: 1.594 kB / 445.4 MB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.2102, allocations: 0 / 445.4 MB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.851e-05/0.2103, allocations: 23.78 kB / 445.4 MB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.2104, allocations: 8.656 kB / 445.4 MB, free: 53.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.2105, allocations: 232.8 kB / 445.6 MB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.2106, allocations: 26.27 kB / 445.7 MB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.2106, allocations: 18.23 kB / 445.7 MB, free: 53.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2106, allocations: 1.5 kB / 445.7 MB, free: 53.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2106, allocations: 3.938 kB / 445.7 MB, free: 53.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2106, allocations: 0 / 445.7 MB, free: 53.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.2107, allocations: 188.6 kB / 445.9 MB, free: 53.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2107, allocations: 0 / 445.9 MB, free: 53.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-06/0.2107, allocations: 3.844 kB / 445.9 MB, free: 53.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2107, allocations: 0 / 445.9 MB, free: 53.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.2107, allocations: 9.875 kB / 445.9 MB, free: 53.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2108, allocations: 2.25 kB / 445.9 MB, free: 53.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.2108, allocations: 5.109 kB / 445.9 MB, free: 53.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007033/0.2115, allocations: 0.7714 MB / 446.7 MB, free: 53.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.2115, allocations: 23.34 kB / 446.7 MB, free: 53.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.2115, allocations: 6.5 kB / 446.7 MB, free: 53.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.984e-05/0.2116, allocations: 6.312 kB / 446.7 MB, free: 53.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.2116, allocations: 15.42 kB / 446.7 MB, free: 53.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.2116, allocations: 15.73 kB / 446.7 MB, free: 53.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.758e-05/0.2117, allocations: 126.3 kB / 446.9 MB, free: 52.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2117, allocations: 0 / 446.9 MB, free: 52.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001181/0.2129, allocations: 355.4 kB / 447.2 MB, free: 52.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.002223/0.2151, allocations: 1.619 MB / 448.8 MB, free: 52.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007792/0.2159, allocations: 0.7559 MB / 449.6 MB, free: 51.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2159, allocations: 0 / 449.6 MB, free: 51.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.2162, allocations: 439.4 kB / 450 MB, free: 51.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.2165, allocations: 18.84 kB / 450 MB, free: 51.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/0.2205, allocations: 3.948 MB / 454 MB, free: 49.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.2206, allocations: 142.5 kB / 454.1 MB, free: 49.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.403e-05/0.2207, allocations: 7.125 kB / 454.1 MB, free: 49.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.2207, allocations: 47.34 kB / 454.2 MB, free: 49.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.753e-06/0.2207, allocations: 0 / 454.2 MB, free: 49.72 MB / 410.7 MB [CodegenCFunctions.tpl:5727:13-5727:13:writable] Error: Template error: This should have been handled in indexed assign and should not have gotten here. eigenvalues[:,2]. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.2804282531142235]