Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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/package.mo", uses=false) 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.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.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",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.001144/0.001144, allocations: 106.4 kB / 16.92 MB, free: 5.777 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.001159/0.001159, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.267/1.267, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1797/0.1797, allocations: 38.03 MB / 329.7 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 65.59 kB / 398.9 MB, free: 33.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08602/0.08723, allocations: 58.07 MB / 457 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006275/0.09356, allocations: 4.576 MB / 461.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.09593, allocations: 1.316 MB / 462.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.09626, allocations: 15.88 kB / 462.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.09742, allocations: 409.7 kB / 463.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005686/0.098, allocations: 246.8 kB / 463.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.09847, allocations: 167.6 kB / 463.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005926/0.09907, allocations: 0.5646 MB / 464.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.0995, allocations: 289.2 kB / 464.5 MB, free: 356 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003893/0.0999, allocations: 247 kB / 464.8 MB, free: 108 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000505/0.1004, allocations: 283.1 kB / 465 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.1005, allocations: 28 kB / 465.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.1008, allocations: 127.6 kB / 465.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.101, allocations: 191.5 kB / 465.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.1012, allocations: 218.9 kB / 465.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006244/0.1019, allocations: 0.5061 MB / 466.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1019, allocations: 0 / 466.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1019, allocations: 0 / 466.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.1019, allocations: 0 / 466.1 MB, free: 14.77 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001117/0.103, allocations: 0.703 MB / 466.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1031, allocations: 11.89 kB / 466.8 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.121e-05/0.1032, allocations: 74.72 kB / 466.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005863/0.1038, allocations: 84.31 kB / 467 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006177/0.1044, allocations: 391.2 kB / 467.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.1044, allocations: 33.36 kB / 467.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.1046, allocations: 35.94 kB / 467.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.1052, allocations: 476.8 kB / 467.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.1052, allocations: 4 kB / 467.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.1053, allocations: 15.98 kB / 467.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.1054, allocations: 24.98 kB / 467.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.1059, allocations: 339.7 kB / 468.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.1079, allocations: 1.71 MB / 470 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.1082, allocations: 161 kB / 470.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.1084, allocations: 109.7 kB / 470.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.1084, allocations: 4 kB / 470.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.1084, allocations: 38.5 kB / 470.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.1084, allocations: 0 / 470.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001357/0.1098, allocations: 0.8527 MB / 471.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1098, allocations: 81.11 kB / 471.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.1101, allocations: 300.5 kB / 471.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1101, allocations: 29.7 kB / 471.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.1103, allocations: 255.4 kB / 471.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.1103, allocations: 67.09 kB / 471.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-05/0.1104, allocations: 58.11 kB / 471.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1106, allocations: 346.7 kB / 472.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1107, allocations: 88.23 kB / 472.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.1109, allocations: 201.3 kB / 472.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.1113, allocations: 310.5 kB / 472.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1113, allocations: 0 / 472.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008048/0.1121, allocations: 453.7 kB / 473.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1121, allocations: 14.02 kB / 473.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000551/0.1127, allocations: 287.5 kB / 473.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004592/0.1132, allocations: 132.8 kB / 473.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.1134, allocations: 59.91 kB / 473.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.116, allocations: 2.387 MB / 476.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.1162, allocations: 12.06 kB / 476.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.1162, allocations: 20 kB / 476.2 MB, free: 4.043 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001891/0.1164, allocations: 189.7 kB / 476.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.1165, allocations: 23.72 kB / 476.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000402/0.1169, allocations: 253.3 kB / 476.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1169, allocations: 4 kB / 476.6 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.1169, allocations: 0 / 476.6 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1169, allocations: 3.984 kB / 476.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.118, allocations: 0.7156 MB / 477.4 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.118, allocations: 0 / 477.4 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.1182, allocations: 35.92 kB / 477.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.1183, allocations: 32.83 kB / 477.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1184, allocations: 12.06 kB / 477.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.1195, allocations: 1.592 MB / 479 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1195, allocations: 3.938 kB / 479 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/0.12, allocations: 418.4 kB / 479.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.12, allocations: 108.7 kB / 479.5 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.1201, allocations: 11.94 kB / 479.6 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.1202, allocations: 7.984 kB / 479.6 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.1203, allocations: 19.98 kB / 479.6 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.1203, allocations: 4 kB / 479.6 MB, free: 364 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.1205, allocations: 215.1 kB / 479.8 MB, free: 152 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1205, allocations: 0 / 479.8 MB, free: 152 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004343/0.1209, allocations: 84 kB / 479.9 MB, free: 68 kB / 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007353/0.1217, allocations: 0.9599 MB / 480.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007129/0.1224, allocations: 418.5 kB / 481.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1224, allocations: 3.938 kB / 481.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.1227, allocations: 228.2 kB / 481.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.1232, allocations: 68.17 kB / 481.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/0.1272, allocations: 3.505 MB / 485 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.1276, allocations: 0.8418 MB / 485.9 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.1278, allocations: 66.91 kB / 486 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.128, allocations: 135.3 kB / 486.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.128, allocations: 0 / 486.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.1549, allocations: 7.338 MB / 493.4 MB, free: 2.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.34, allocations: 8.469 kB / 493.4 MB, free: 2.348 MB / 366.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)