Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001025/0.001025, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001146/0.001146, allocations: 168.7 kB / 24.99 MB, free: 8.793 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 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2452/0.2452, allocations: 29.41 MB / 291.2 MB, free: 2.52 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.681e-05, allocations: 9.328 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.002568/0.002595, allocations: 2.269 MB / 371.9 MB, free: 9.035 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.004844, allocations: 1.953 MB / 373.9 MB, free: 7.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.004909, allocations: 0 / 373.9 MB, free: 7.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.005099, allocations: 15.92 kB / 373.9 MB, free: 7.055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.888e-05/0.005178, allocations: 27.77 kB / 373.9 MB, free: 7.027 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.006875, allocations: 0.9817 MB / 374.9 MB, free: 6.043 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.006993, allocations: 79.62 kB / 375 MB, free: 5.965 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.007034, allocations: 192 / 375 MB, free: 5.965 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.007172, allocations: 51.88 kB / 375 MB, free: 5.914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.007248, allocations: 35.89 kB / 375 MB, free: 5.879 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.007259, allocations: 0 / 375 MB, free: 5.879 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.009283, allocations: 1.905 MB / 376.9 MB, free: 3.969 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.009329, allocations: 11.92 kB / 377 MB, free: 3.957 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.009369, allocations: 15.94 kB / 377 MB, free: 3.941 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.01079, allocations: 1.477 MB / 378.5 MB, free: 2.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.01079, allocations: 0 / 378.5 MB, free: 2.461 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01079, allocations: 0 / 378.5 MB, free: 2.461 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.0108, allocations: 0 / 378.5 MB, free: 2.461 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005241/0.01132, allocations: 0.5282 MB / 379 MB, free: 1.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.01136, allocations: 15.97 kB / 379 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.01142, allocations: 8.891 kB / 379 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.01157, allocations: 140.4 kB / 379.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.01158, allocations: 7.938 kB / 379.1 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.01159, allocations: 0 / 379.1 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.0117, allocations: 67.39 kB / 379.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.01171, allocations: 0 / 379.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.01172, allocations: 4 kB / 379.2 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.01173, allocations: 0 / 379.2 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.971e-05/0.01176, allocations: 41.69 kB / 379.3 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/0.01186, allocations: 116.6 kB / 379.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.763e-05/0.01192, allocations: 72.62 kB / 379.4 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.01196, allocations: 53.41 kB / 379.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-06/0.01196, allocations: 4 kB / 379.5 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.01198, allocations: 33.39 kB / 379.5 MB, free: 1.219 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.01198, allocations: 0 / 379.5 MB, free: 1.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002149/0.0122, allocations: 170.7 kB / 379.7 MB, free: 1.027 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.01224, allocations: 93.09 kB / 379.8 MB, free: 0.918 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/0.01233, allocations: 177.9 kB / 380 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.01235, allocations: 29.64 kB / 380 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.01239, allocations: 139 kB / 380.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.01243, allocations: 31.73 kB / 380.2 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.01246, allocations: 27.36 kB / 380.2 MB, free: 496 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.01258, allocations: 0.4923 MB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.705e-05/0.01262, allocations: 41.69 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/0.01264, allocations: 33.7 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.966e-05/0.01271, allocations: 107.4 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01271, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001044/0.01281, allocations: 133 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.01285, allocations: 37.69 kB / 381 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01286, allocations: 0 / 381 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.01287, allocations: 0 / 381 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.01287, allocations: 11.88 kB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.01288, allocations: 3.984 kB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/0.01291, allocations: 8.062 kB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.01293, allocations: 4 kB / 381.1 MB, free: 15.55 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 8.474e-05/0.01301, allocations: 198.2 kB / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.01303, allocations: 15.89 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.493e-05/0.01304, allocations: 8.438 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.01304, allocations: 0 / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.01305, allocations: 0 / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01305, allocations: 0 / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.554e-05/0.01313, allocations: 128.6 kB / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01313, allocations: 0 / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-06/0.01313, allocations: 7.938 kB / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.01313, allocations: 0 / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.01314, allocations: 4 kB / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.01314, allocations: 0 / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01314, allocations: 0 / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.01329, allocations: 195.7 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.0133, allocations: 11.89 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.01332, allocations: 0 / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.01334, allocations: 4 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.01335, allocations: 0 / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.01336, allocations: 4 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.776e-05/0.01341, allocations: 146.7 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01341, allocations: 0 / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005984/0.01401, allocations: 323.3 kB / 382.1 MB, free: 14.45 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.0007829/0.01479, allocations: 406.4 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.01499, allocations: 174.5 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.01499, allocations: 0 / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.111e-05/0.01506, allocations: 128.8 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.01524, allocations: 12 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/0.01585, allocations: 247.2 kB / 383 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.53e-05/0.01589, allocations: 63.34 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.86e-05/0.01591, allocations: 4 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.906e-05/0.01593, allocations: 12.56 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01593, allocations: 0 / 383.1 MB, free: 13.3 MB / 362.7 MB [CodegenCFunctions.tpl:5910:13-5910: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.9051688329782337]