Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.0008047/0.0008047, allocations: 92.33 kB / 20.96 MB, free: 3.477 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.0008444/0.0008444, allocations: 161.3 kB / 24.26 MB, free: 176 kB / 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.8888/0.8888, allocations: 177.1 MB / 204.6 MB, free: 5.566 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.2123/0.2123, allocations: 29.42 MB / 290.5 MB, free: 2.414 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_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 368.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.864e-05, allocations: 2.312 kB / 368.4 MB, free: 11.76 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003258/0.003276, allocations: 2.204 MB / 370.6 MB, free: 9.535 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002731/0.006008, allocations: 1.899 MB / 372.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.006055, allocations: 0 / 372.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.006173, allocations: 15.92 kB / 372.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.332e-05/0.006246, allocations: 27.83 kB / 372.5 MB, free: 7.582 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.007829, allocations: 0.97 MB / 373.5 MB, free: 6.609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.007933, allocations: 75.64 kB / 373.6 MB, free: 6.535 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.00797, allocations: 12.16 kB / 373.6 MB, free: 6.523 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.008085, allocations: 39.91 kB / 373.6 MB, free: 6.484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.623e-05/0.008151, allocations: 39.88 kB / 373.7 MB, free: 6.445 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.008162, allocations: 4 kB / 373.7 MB, free: 6.441 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001881/0.01004, allocations: 1.905 MB / 375.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.01009, allocations: 35.86 kB / 375.6 MB, free: 4.496 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.01013, allocations: 19.92 kB / 375.6 MB, free: 4.477 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.01152, allocations: 1.508 MB / 377.2 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.01152, allocations: 0 / 377.2 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01152, allocations: 0 / 377.2 MB, free: 2.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.01152, allocations: 4 kB / 377.2 MB, free: 2.961 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005432/0.01207, allocations: 0.4903 MB / 377.6 MB, free: 2.434 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.01211, allocations: 19.98 kB / 377.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.837e-05/0.01213, allocations: 46.73 kB / 377.7 MB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.01218, allocations: 16.78 kB / 377.7 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.0123, allocations: 137.5 kB / 377.9 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.01231, allocations: 4.125 kB / 377.9 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.01231, allocations: 4 kB / 377.9 MB, free: 2.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.01249, allocations: 169.4 kB / 378 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.01249, allocations: 3.938 kB / 378 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.0125, allocations: 0 / 378 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.0125, allocations: 4 kB / 378 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.009e-05/0.01259, allocations: 125.6 kB / 378.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.01273, allocations: 160.6 kB / 378.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.01284, allocations: 144.2 kB / 378.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.905e-05/0.01293, allocations: 134.5 kB / 378.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-06/0.01293, allocations: 0 / 378.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.01295, allocations: 34.56 kB / 378.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 7.21e-07/0.01295, allocations: 0 / 378.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004106/0.01336, allocations: 470.8 kB / 379.1 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.01341, allocations: 101.1 kB / 379.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.564e-05/0.01351, allocations: 149.4 kB / 379.3 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.01352, allocations: 25.7 kB / 379.4 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.01356, allocations: 100.7 kB / 379.5 MB, free: 444 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.01361, allocations: 83.28 kB / 379.5 MB, free: 360 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.01364, allocations: 25.7 kB / 379.6 MB, free: 328 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.01375, allocations: 330.8 kB / 379.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/0.01383, allocations: 125.6 kB / 380 MB, free: 15.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.01392, allocations: 129.6 kB / 380.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.01411, allocations: 294.1 kB / 380.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.01411, allocations: 3.938 kB / 380.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002274/0.01434, allocations: 326.4 kB / 380.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.01438, allocations: 61.66 kB / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01439, allocations: 64 / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.0144, allocations: 8 kB / 380.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.0144, allocations: 0 / 380.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.0144, allocations: 0 / 380.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.06e-05/0.01445, allocations: 11.89 kB / 380.8 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.01446, allocations: 8 kB / 380.8 MB, free: 14.99 MB / 362.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.0001051/0.01457, allocations: 203.4 kB / 381 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.01459, allocations: 23.91 kB / 381.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.1e-05/0.0146, allocations: 5.281 kB / 381.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.0146, allocations: 4 kB / 381.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01461, allocations: 0 / 381.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01461, allocations: 4 kB / 381.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.926e-05/0.0147, allocations: 172.5 kB / 381.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.0147, allocations: 3.938 kB / 381.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/0.0147, allocations: 4 kB / 381.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.0147, allocations: 3.984 kB / 381.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.01471, allocations: 4 kB / 381.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01472, allocations: 7.984 kB / 381.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01472, allocations: 0 / 381.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.0151, allocations: 0.5233 MB / 381.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.474e-05/0.01511, allocations: 15.84 kB / 381.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.01513, allocations: 8.031 kB / 381.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.502e-05/0.01515, allocations: 4 kB / 381.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.01517, allocations: 11.98 kB / 381.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.01518, allocations: 4 kB / 381.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.182e-05/0.01523, allocations: 111.2 kB / 381.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01523, allocations: 0 / 381.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006009/0.01583, allocations: 339.3 kB / 382.3 MB, free: 13.47 MB / 362.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.001185/0.01702, allocations: 1.36 MB / 383.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.01741, allocations: 0.4985 MB / 384.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01741, allocations: 4 kB / 384.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.0176, allocations: 293 kB / 384.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.01776, allocations: 18.16 kB / 384.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.01985, allocations: 2.986 MB / 387.4 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.364e-05/0.01993, allocations: 121.8 kB / 387.5 MB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.536e-05/0.01994, allocations: 0 / 387.5 MB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.01998, allocations: 32.44 kB / 387.6 MB, free: 7.949 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01998, allocations: 0 / 387.6 MB, free: 7.949 MB / 362.7 MB [CodegenCFunctions.tpl:5779:13-5779: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.6285254806280136]