Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",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.0009472/0.0009473, allocations: 94.72 kB / 16.3 MB, free: 5.996 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.0008763/0.0008764, allocations: 183.1 kB / 17.2 MB, free: 5.898 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.23/1.23, allocations: 223.2 MB / 241.1 MB, free: 396 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1592/0.1592, allocations: 38.09 MB / 330.3 MB, free: 8.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0002998, allocations: 8 kB / 400.1 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09412/0.09444, allocations: 59.17 MB / 459.2 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.004899/0.09937, allocations: 4.548 MB / 463.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.1015, allocations: 1.446 MB / 465.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.1017, allocations: 23.81 kB / 465.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.102, allocations: 103.4 kB / 465.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.1024, allocations: 211.4 kB / 465.5 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.1028, allocations: 175.5 kB / 465.7 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.1031, allocations: 295.3 kB / 466 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008762/0.104, allocations: 0.5473 MB / 466.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003226/0.1044, allocations: 187.2 kB / 466.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.1046, allocations: 171.4 kB / 466.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.1047, allocations: 16 kB / 466.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.1049, allocations: 71.89 kB / 467 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.105, allocations: 159.6 kB / 467.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.323e-05/0.1051, allocations: 105.5 kB / 467.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.1055, allocations: 399 kB / 467.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.1055, allocations: 0 / 467.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1055, allocations: 0 / 467.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.966e-06/0.1055, allocations: 0 / 467.6 MB, free: 14.88 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009401/0.1065, allocations: 0.6483 MB / 468.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1065, allocations: 8.031 kB / 468.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.405e-05/0.1066, allocations: 74.53 kB / 468.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000608/0.1072, allocations: 87.38 kB / 468.5 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005961/0.1078, allocations: 398.9 kB / 468.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.1078, allocations: 36.94 kB / 468.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.108, allocations: 43.98 kB / 468.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006037/0.1086, allocations: 464.8 kB / 469.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.1086, allocations: 3.984 kB / 469.4 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.1086, allocations: 16 kB / 469.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.692e-05/0.1087, allocations: 24.98 kB / 469.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004764/0.1092, allocations: 339.7 kB / 469.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.1113, allocations: 1.641 MB / 471.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.1116, allocations: 173.1 kB / 471.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.1117, allocations: 0 / 471.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.1117, allocations: 38.62 kB / 471.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.042e-06/0.1117, allocations: 0 / 471.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001227/0.1129, allocations: 0.7797 MB / 472.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.113, allocations: 77.11 kB / 472.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.1133, allocations: 312.4 kB / 472.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.1133, allocations: 29.7 kB / 472.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.1134, allocations: 247.6 kB / 473 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/0.1135, allocations: 82.94 kB / 473.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.1135, allocations: 4 kB / 473.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1137, allocations: 342.8 kB / 473.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.1139, allocations: 95.94 kB / 473.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.1141, allocations: 204.8 kB / 473.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.1143, allocations: 124.1 kB / 473.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1143, allocations: 0 / 473.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007885/0.1151, allocations: 434.6 kB / 474.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1151, allocations: 4 kB / 474.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004448/0.1156, allocations: 254.8 kB / 474.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003149/0.1159, allocations: 88.7 kB / 474.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.1161, allocations: 68.05 kB / 474.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.1176, allocations: 1.608 MB / 476.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.1178, allocations: 8 kB / 476.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.1178, allocations: 15.98 kB / 476.3 MB, free: 5.633 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001912/0.118, allocations: 189.7 kB / 476.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.1181, allocations: 31.62 kB / 476.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/0.1185, allocations: 271.3 kB / 476.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1185, allocations: 0 / 476.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.1185, allocations: 4.062 kB / 476.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1185, allocations: 11.94 kB / 476.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.1196, allocations: 0.7491 MB / 477.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1196, allocations: 0 / 477.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.1199, allocations: 51.91 kB / 477.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1199, allocations: 8.062 kB / 477.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.1199, allocations: 8 kB / 477.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1199, allocations: 0 / 477.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1199, allocations: 3.953 kB / 477.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.1204, allocations: 495.3 kB / 478.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.933e-05/0.1205, allocations: 105.1 kB / 478.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.1206, allocations: 8 kB / 478.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1207, allocations: 8 kB / 478.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.1208, allocations: 15.97 kB / 478.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.1208, allocations: 8 kB / 478.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001951/0.121, allocations: 211.1 kB / 478.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.121, allocations: 4 kB / 478.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.1214, allocations: 84 kB / 478.6 MB, free: 3.266 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * 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.0008219/0.1222, allocations: 1.241 MB / 479.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005498/0.1228, allocations: 367 kB / 480.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1228, allocations: 192 / 480.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.1229, allocations: 103.8 kB / 480.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1233, allocations: 57.39 kB / 480.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.127, allocations: 4.509 MB / 484.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.1274, allocations: 0.858 MB / 485.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000198/0.1277, allocations: 70.91 kB / 485.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.1278, allocations: 135.4 kB / 485.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1278, allocations: 4 kB / 485.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.175/0.3029, allocations: 6.726 MB / 492.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/0.3031, allocations: 215.6 kB / 492.8 MB, free: 4.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/1.889, allocations: 0 / 492.8 MB, free: 4.965 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat does not exist to compare? outputFormat=mat