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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 93.55 kB / 16.3 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 176.6 kB / 17.19 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 223.2 MB / 241.1 MB, free: 292 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1627/0.1627, allocations: 38.09 MB / 330.3 MB, free: 8.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002567, allocations: 9 kB / 400.1 MB, free: 34.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07952/0.07979, allocations: 59.17 MB / 459.2 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.008009/0.08783, allocations: 9.326 MB / 468.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004668/0.09253, allocations: 3.496 MB / 472 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003959/0.09294, allocations: 71.5 kB / 472.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005195/0.09347, allocations: 306.1 kB / 472.4 MB, free: 10.1 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/AC3ph/Sensors.mo:213:5-214:73:writable] Warning: Conditional component ‘v_abc‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.001048/0.09452, allocations: 0.623 MB / 473 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.09574, allocations: 0.6977 MB / 473.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000786/0.09654, allocations: 0.8355 MB / 474.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.09825, allocations: 1.317 MB / 475.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005283/0.09879, allocations: 0.5137 MB / 476.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007078/0.0995, allocations: 0.6388 MB / 477 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.447e-05/0.09961, allocations: 52 kB / 477.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004755/0.1001, allocations: 291.5 kB / 477.4 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000435/0.1005, allocations: 0.5573 MB / 477.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.1008, allocations: 272.9 kB / 478.2 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.1018, allocations: 1.313 MB / 479.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.1018, allocations: 8 kB / 479.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1018, allocations: 0 / 479.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.1018, allocations: 0 / 479.5 MB, free: 2.926 MB / 350.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.002132/0.104, allocations: 1.409 MB / 480.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.104, allocations: 8.031 kB / 480.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000193/0.1042, allocations: 194.3 kB / 481.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.1057, allocations: 294 kB / 481.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.107, allocations: 0.8199 MB / 482.2 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/0.1071, allocations: 86.33 kB / 482.3 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002781/0.1074, allocations: 151.9 kB / 482.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.1094, allocations: 1.827 MB / 484.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.1095, allocations: 11.88 kB / 484.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.1096, allocations: 48 kB / 484.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002523/0.1099, allocations: 98.14 kB / 484.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.1118, allocations: 1.472 MB / 485.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007413/0.1192, allocations: 8.284 MB / 494.2 MB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.1204, allocations: 1.159 MB / 495.4 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-05/0.1204, allocations: 20.7 kB / 495.4 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1205, allocations: 35.22 kB / 495.4 MB, free: 2.258 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.235e-06/0.1205, allocations: 0 / 495.4 MB, free: 2.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=83): time 0.003045/0.1235, allocations: 2.39 MB / 497.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.1236, allocations: 93.7 kB / 497.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007538/0.1243, allocations: 0.8172 MB / 498.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.1244, allocations: 41.7 kB / 498.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003719/0.1248, allocations: 0.6803 MB / 499.4 MB, free: 14.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.125, allocations: 307.7 kB / 499.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.125, allocations: 24 kB / 499.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1252, allocations: 422.7 kB / 0.4885 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/0.1258, allocations: 439.7 kB / 0.4889 GB, free: 12.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008652/0.1266, allocations: 0.9812 MB / 0.4898 GB, free: 11.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007623/0.1274, allocations: 0.6274 MB / 0.4904 GB, free: 11.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.1274, allocations: 8 kB / 0.4904 GB, free: 11.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002504/0.1299, allocations: 1.737 MB / 0.4921 GB, free: 9.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.13, allocations: 16.06 kB / 0.4922 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001454/0.1314, allocations: 0.9686 MB / 0.4931 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007351/0.1322, allocations: 246.3 kB / 0.4933 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008674/0.1331, allocations: 319.5 kB / 0.4936 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003743/0.1368, allocations: 4.853 MB / 0.4984 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005596/0.1374, allocations: 67.89 kB / 0.4984 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.1375, allocations: 68 kB / 0.4985 GB, free: 2.383 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 0 * 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.0004247/0.1379, allocations: 425.1 kB / 0.4989 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.138, allocations: 94.78 kB / 0.499 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.1393, allocations: 0.9414 MB / 0.4999 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/0.1393, allocations: 12 kB / 0.4999 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1393, allocations: 4 kB / 0.4999 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.1393, allocations: 11.92 kB / 0.5 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1883/0.3276, allocations: 2.091 MB / 0.502 GB, free: 54.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.3277, allocations: 3.891 kB / 0.502 GB, free: 54.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008913/0.3286, allocations: 190.3 kB / 0.5022 GB, free: 54.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.3286, allocations: 7.781 kB / 0.5022 GB, free: 54.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/0.3286, allocations: 21.58 kB / 0.5022 GB, free: 54.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.3287, allocations: 4.203 kB / 0.5022 GB, free: 54.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3287, allocations: 3.594 kB / 0.5022 GB, free: 54.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.3305, allocations: 1.466 MB / 0.5037 GB, free: 53.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.3308, allocations: 168.1 kB / 0.5038 GB, free: 53.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.3309, allocations: 24.39 kB / 0.5038 GB, free: 53.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.3313, allocations: 26.47 kB / 0.5039 GB, free: 53.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.534e-05/0.3314, allocations: 58.58 kB / 0.5039 GB, free: 53.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.3315, allocations: 21.44 kB / 0.5039 GB, free: 53.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007266/0.3322, allocations: 0.5364 MB / 0.5045 GB, free: 53.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3322, allocations: 0 / 0.5045 GB, free: 53.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00111/0.3333, allocations: 300.5 kB / 0.5047 GB, free: 53.79 MB / 382.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * Array equations: 0 * 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.001823/0.3352, allocations: 2.499 MB / 0.5072 GB, free: 52.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.3372, allocations: 1.442 MB / 0.5086 GB, free: 51.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3372, allocations: 0 / 0.5086 GB, free: 51.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004985/0.3377, allocations: 401.7 kB / 0.509 GB, free: 51.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/0.3383, allocations: 164.2 kB / 0.5091 GB, free: 51.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.3499, allocations: 20.25 MB / 0.5289 GB, free: 34.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009345/0.3508, allocations: 1.27 MB / 0.5301 GB, free: 33.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001184/0.352, allocations: 418.1 kB / 0.5305 GB, free: 33.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005246/0.3526, allocations: 462.4 kB / 0.531 GB, free: 33.38 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3526, allocations: 0 / 0.531 GB, free: 33.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.3812, allocations: 19.96 MB / 0.5505 GB, free: 18.86 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001307/0.3813, allocations: 209.6 kB / 0.5507 GB, free: 18.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.258, allocations: 4.062 kB / 0.5507 GB, free: 18.62 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat does not exist to compare? outputFormat=mat