Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.0008623/0.0008623, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.00102/0.00102, allocations: 174 kB / 23.95 MB, free: 0.6094 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.9105/0.9105, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2478/0.2478, allocations: 29.4 MB / 290.1 MB, free: 2.445 MB / 266.7 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.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.473e-05, allocations: 3.969 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.002606/0.002631, allocations: 2.195 MB / 432.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.004771, allocations: 1.913 MB / 434.3 MB, free: 9.453 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.004826, allocations: 0 / 434.3 MB, free: 9.453 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.004997, allocations: 11.92 kB / 434.3 MB, free: 9.441 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.005071, allocations: 23.83 kB / 434.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.006713, allocations: 0.9738 MB / 435.3 MB, free: 8.441 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.006819, allocations: 83.62 kB / 435.4 MB, free: 8.359 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.006855, allocations: 192 / 435.4 MB, free: 8.359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.006972, allocations: 43.89 kB / 435.5 MB, free: 8.316 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/0.007036, allocations: 39.86 kB / 435.5 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.007046, allocations: 4 kB / 435.5 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.008928, allocations: 1.909 MB / 437.4 MB, free: 6.359 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.008969, allocations: 11.94 kB / 437.4 MB, free: 6.348 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.009001, allocations: 19.92 kB / 437.4 MB, free: 6.328 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.01042, allocations: 1.465 MB / 438.9 MB, free: 4.859 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.01042, allocations: 0 / 438.9 MB, free: 4.859 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01042, allocations: 0 / 438.9 MB, free: 4.859 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.267e-06/0.01042, allocations: 3.938 kB / 438.9 MB, free: 4.855 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004824/0.01091, allocations: 442.5 kB / 439.3 MB, free: 4.387 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.01094, allocations: 11.98 kB / 439.4 MB, free: 4.375 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.588e-05/0.01097, allocations: 38.75 kB / 439.4 MB, free: 4.328 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.011, allocations: 16.86 kB / 439.4 MB, free: 4.312 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.0111, allocations: 117.5 kB / 439.5 MB, free: 4.172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/0.01111, allocations: 4 kB / 439.5 MB, free: 4.168 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.01112, allocations: 0 / 439.5 MB, free: 4.168 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.01123, allocations: 99.36 kB / 439.6 MB, free: 4.059 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-06/0.01124, allocations: 0 / 439.6 MB, free: 4.059 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.01124, allocations: 0 / 439.6 MB, free: 4.059 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.01125, allocations: 0 / 439.6 MB, free: 4.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.899e-05/0.0113, allocations: 65.62 kB / 439.7 MB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.0114, allocations: 140.6 kB / 439.8 MB, free: 3.809 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.674e-05/0.01147, allocations: 88.25 kB / 439.9 MB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/0.01151, allocations: 66.56 kB / 440 MB, free: 3.633 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.71e-06/0.01152, allocations: 0 / 440 MB, free: 3.633 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.01153, allocations: 38.55 kB / 440 MB, free: 3.586 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 6.82e-07/0.01154, allocations: 0 / 440 MB, free: 3.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002193/0.01175, allocations: 238.8 kB / 440.3 MB, free: 3.328 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.01179, allocations: 89.09 kB / 440.3 MB, free: 3.223 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.01186, allocations: 121.8 kB / 440.5 MB, free: 3.094 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.01187, allocations: 25.7 kB / 440.5 MB, free: 3.062 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.0119, allocations: 88.14 kB / 440.6 MB, free: 2.973 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.01193, allocations: 27.75 kB / 440.6 MB, free: 2.945 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.01195, allocations: 21.73 kB / 440.6 MB, free: 2.918 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.01203, allocations: 326.8 kB / 440.9 MB, free: 2.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.01207, allocations: 61.69 kB / 441 MB, free: 2.523 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.01211, allocations: 65.69 kB / 441.1 MB, free: 2.453 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.53e-05/0.01219, allocations: 136.2 kB / 441.2 MB, free: 2.305 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01219, allocations: 4 kB / 441.2 MB, free: 2.301 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001171/0.01231, allocations: 173 kB / 441.4 MB, free: 2.113 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.01234, allocations: 41.69 kB / 441.4 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-06/0.01235, allocations: 0 / 441.4 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.01235, allocations: 0 / 441.4 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.01235, allocations: 8 kB / 441.4 MB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.01236, allocations: 7.922 kB / 441.4 MB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.01238, allocations: 4 kB / 441.4 MB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.0124, allocations: 8 kB / 441.4 MB, free: 2.039 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 7.035e-05/0.01247, allocations: 155.5 kB / 441.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-06/0.01248, allocations: 7.953 kB / 441.6 MB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.093e-05/0.01249, allocations: 8.422 kB / 441.6 MB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.01249, allocations: 0 / 441.6 MB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01249, allocations: 0 / 441.6 MB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.01249, allocations: 4 kB / 441.6 MB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.67e-05/0.01256, allocations: 136.7 kB / 441.7 MB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.01256, allocations: 4 kB / 441.7 MB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.4e-07/0.01256, allocations: 0 / 441.7 MB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.01256, allocations: 0 / 441.7 MB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.01257, allocations: 7.984 kB / 441.8 MB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.01257, allocations: 0 / 441.8 MB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01257, allocations: 0 / 441.8 MB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.01274, allocations: 264.3 kB / 442 MB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-06/0.01275, allocations: 15.89 kB / 442 MB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.01276, allocations: 0 / 442 MB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.176e-05/0.01278, allocations: 4 kB / 442 MB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/0.01279, allocations: 0 / 442 MB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.01279, allocations: 8.031 kB / 442 MB, free: 1.348 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.57e-05/0.01283, allocations: 102.1 kB / 442.1 MB, free: 1.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01283, allocations: 0 / 442.1 MB, free: 1.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005283/0.01336, allocations: 315.4 kB / 442.4 MB, free: 0.9414 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.1649/0.1783, allocations: 1.092 MB / 443.5 MB, free: 53.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.1785, allocations: 241.5 kB / 443.8 MB, free: 53.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1786, allocations: 0 / 443.8 MB, free: 53.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.202e-05/0.1786, allocations: 154.3 kB / 443.9 MB, free: 53.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.1789, allocations: 12.84 kB / 443.9 MB, free: 53.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.1803, allocations: 1.889 MB / 445.8 MB, free: 52.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.51e-05/0.1803, allocations: 81.73 kB / 445.9 MB, free: 52.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.586e-05/0.1803, allocations: 2.625 kB / 445.9 MB, free: 52.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.1804, allocations: 22.39 kB / 445.9 MB, free: 52.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.1804, allocations: 0 / 445.9 MB, free: 52.25 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: 1.985008836723864] Failed to read output from testmodel.py, exit status != 0: 0.2030093977227807 0.208441384 0.196527947 Calling exit ...