Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter0.alpha_v|meter0.p.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter0.alpha_v|meter0.p.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008566/0.0008566, allocations: 88.64 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.369/0.369, allocations: 37.98 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.52e-05, allocations: 4 kB / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 56.33 MB / 466.9 MB, free: 6.566 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4541/0.5847, allocations: 101.7 MB / 0.5553 GB, free: 9.254 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.585, allocations: 95.88 kB / 0.5554 GB, free: 9.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.091/0.6761, allocations: 32.29 MB / 0.5869 GB, free: 8.484 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6761, allocations: 0 / 0.5869 GB, free: 8.484 MB / 427.1 MB Notification: Performance of Transformations before backend: time 5.851e-05/0.6762, allocations: 28 kB / 0.5869 GB, free: 8.457 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.002512/0.6787, allocations: 1.309 MB / 0.5882 GB, free: 7.098 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.6788, allocations: 8.031 kB / 0.5882 GB, free: 7.09 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.6803, allocations: 286 kB / 0.5885 GB, free: 6.809 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004005/0.6843, allocations: 1.768 MB / 0.5902 GB, free: 4.996 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.6844, allocations: 36 kB / 0.5902 GB, free: 4.961 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.6846, allocations: 71.91 kB / 0.5903 GB, free: 4.891 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001826/0.6864, allocations: 1.122 MB / 0.5914 GB, free: 3.766 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.6887, allocations: 1.604 MB / 0.593 GB, free: 1.984 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.6887, allocations: 7.938 kB / 0.593 GB, free: 1.977 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.6888, allocations: 4 kB / 0.593 GB, free: 1.973 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.6889, allocations: 86.08 kB / 0.5931 GB, free: 1.887 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008088/0.697, allocations: 7.741 MB / 0.6006 GB, free: 9.875 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.6982, allocations: 0.9143 MB / 0.6015 GB, free: 8.887 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007373/0.6989, allocations: 0.5312 MB / 0.602 GB, free: 8.352 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.378e-05/0.699, allocations: 16.77 kB / 0.602 GB, free: 8.336 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.6991, allocations: 43.34 kB / 0.6021 GB, free: 8.281 MB / 443.1 MB Notification: Performance of pre-optimization done (n=98): time 3.798e-06/0.6991, allocations: 0 / 0.6021 GB, free: 8.281 MB / 443.1 MB Notification: Performance of matching and sorting (n=99): time 0.004104/0.7032, allocations: 2.404 MB / 0.6044 GB, free: 5.816 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.7033, allocations: 85.89 kB / 0.6045 GB, free: 5.715 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000712/0.704, allocations: 0.6014 MB / 0.6051 GB, free: 5.109 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.7041, allocations: 25.7 kB / 0.6051 GB, free: 5.078 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/0.7045, allocations: 0.638 MB / 0.6058 GB, free: 4.43 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/0.7048, allocations: 346.9 kB / 0.6061 GB, free: 4.086 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.7049, allocations: 0 / 0.6061 GB, free: 4.086 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.7051, allocations: 410.7 kB / 0.6065 GB, free: 3.676 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006492/0.7057, allocations: 479.2 kB / 0.6069 GB, free: 3.207 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009627/0.7067, allocations: 0.9464 MB / 0.6079 GB, free: 2.039 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009852/0.7077, allocations: 0.6847 MB / 0.6085 GB, free: 1.359 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.7077, allocations: 4 kB / 0.6085 GB, free: 1.355 MB / 443.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00277/0.7105, allocations: 1.698 MB / 0.6102 GB, free: 15.64 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.7105, allocations: 15.95 kB / 0.6102 GB, free: 15.62 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001816/0.7124, allocations: 1.109 MB / 0.6113 GB, free: 14.5 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008113/0.7132, allocations: 242.4 kB / 0.6115 GB, free: 14.26 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009915/0.7142, allocations: 295.5 kB / 0.6118 GB, free: 13.97 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003967/0.7182, allocations: 4.589 MB / 0.6163 GB, free: 9.031 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007298/0.7189, allocations: 39.95 kB / 0.6163 GB, free: 8.992 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.439e-05/0.719, allocations: 63.98 kB / 0.6164 GB, free: 8.93 MB / 459.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.7192, allocations: 156.5 kB / 0.6165 GB, free: 8.77 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.7194, allocations: 94.78 kB / 0.6166 GB, free: 8.676 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.7213, allocations: 1.098 MB / 0.6177 GB, free: 7.57 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-05/0.7213, allocations: 23.98 kB / 0.6177 GB, free: 7.547 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.7213, allocations: 4 kB / 0.6177 GB, free: 7.543 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.7214, allocations: 7.969 kB / 0.6177 GB, free: 7.535 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003856/0.7252, allocations: 2.208 MB / 0.6199 GB, free: 5.266 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.7252, allocations: 4 kB / 0.6199 GB, free: 5.262 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009306/0.7262, allocations: 199.7 kB / 0.6201 GB, free: 5.066 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.7262, allocations: 4 kB / 0.6201 GB, free: 5.062 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.7263, allocations: 19.94 kB / 0.6201 GB, free: 5.043 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.7263, allocations: 7.938 kB / 0.6201 GB, free: 5.035 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.357e-05/0.7263, allocations: 8.188 kB / 0.6201 GB, free: 5.027 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.7285, allocations: 1.73 MB / 0.6218 GB, free: 3.215 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.7287, allocations: 167.8 kB / 0.622 GB, free: 3.031 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.7288, allocations: 4 kB / 0.622 GB, free: 3.027 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.7293, allocations: 39.94 kB / 0.622 GB, free: 2.988 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.7294, allocations: 56.7 kB / 0.6221 GB, free: 2.93 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/0.7294, allocations: 20 kB / 0.6221 GB, free: 2.91 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.000518/0.73, allocations: 451.1 kB / 0.6225 GB, free: 2.469 MB / 459.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.73, allocations: 0 / 0.6225 GB, free: 2.469 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.001067/0.731, allocations: 295.9 kB / 0.6228 GB, free: 2.18 MB / 459.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 85 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003511/0.7314, allocations: 196 kB / 0.623 GB, free: 1.98 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.002118/0.7335, allocations: 1.5 MB / 0.6244 GB, free: 464 kB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 1.498e-05/0.7336, allocations: 4 kB / 0.6244 GB, free: 460 kB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006222/0.7342, allocations: 490.8 kB / 0.6249 GB, free: 15.97 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006667/0.7349, allocations: 143.7 kB / 0.6251 GB, free: 15.83 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.7383, allocations: 2.353 MB / 0.6273 GB, free: 13.43 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009199/0.7392, allocations: 1.284 MB / 0.6286 GB, free: 12.11 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.001006/0.7403, allocations: 400.2 kB / 0.629 GB, free: 11.72 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.7405, allocations: 79.42 kB / 0.6291 GB, free: 11.64 MB / 475.1 MB Notification: Performance of SimCode: time 3.2e-07/0.7405, allocations: 0 / 0.6291 GB, free: 11.64 MB / 475.1 MB Notification: Performance of Templates: time 0.01793/0.7584, allocations: 10.33 MB / 0.6391 GB, free: 1.32 MB / 475.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches