Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",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.00139/0.00139, allocations: 105.6 kB / 17.06 MB, free: 6.117 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.001524/0.001524, allocations: 195 kB / 18 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1747/0.1747, allocations: 37.99 MB / 309.2 MB, free: 5.953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 72.36 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.09858, allocations: 55.23 MB / 486.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006166/0.1048, allocations: 4.568 MB / 491.2 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.1071, allocations: 1.353 MB / 492.5 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.1074, allocations: 11.94 kB / 492.5 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.1087, allocations: 402.8 kB / 492.9 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000734/0.1095, allocations: 246.8 kB / 493.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.11, allocations: 171.6 kB / 493.3 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007056/0.1108, allocations: 0.5646 MB / 493.9 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004605/0.1112, allocations: 285.5 kB / 494.2 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.1117, allocations: 263 kB / 494.4 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000527/0.1122, allocations: 287 kB / 494.7 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.029e-05/0.1123, allocations: 32 kB / 494.8 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.1126, allocations: 119.8 kB / 494.9 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.1128, allocations: 195.5 kB / 495.1 MB, free: 356 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.1131, allocations: 218.9 kB / 495.3 MB, free: 136 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006113/0.1137, allocations: 0.51 MB / 495.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1137, allocations: 0 / 495.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1137, allocations: 0 / 495.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.1137, allocations: 0 / 495.8 MB, free: 15.62 MB / 382.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.001236/0.115, allocations: 0.703 MB / 496.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.115, allocations: 11.89 kB / 496.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.1152, allocations: 78.66 kB / 496.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006342/0.1158, allocations: 80.41 kB / 496.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006959/0.1165, allocations: 423.1 kB / 497.1 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.1166, allocations: 25.38 kB / 497.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.1167, allocations: 51.86 kB / 497.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006874/0.1174, allocations: 480.8 kB / 497.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.1174, allocations: 0 / 497.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.1175, allocations: 16 kB / 497.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.1176, allocations: 24.98 kB / 497.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.1181, allocations: 351.7 kB / 498 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.1204, allocations: 1.725 MB / 499.7 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.1208, allocations: 149.1 kB / 499.9 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.1209, allocations: 113.7 kB / 500 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.121, allocations: 0 / 500 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.121, allocations: 42.56 kB / 0.4883 GB, free: 11.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.121, allocations: 3.938 kB / 0.4883 GB, free: 11.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001577/0.1226, allocations: 0.8766 MB / 0.4892 GB, free: 10.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.1227, allocations: 81.23 kB / 0.4892 GB, free: 10.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.123, allocations: 308.5 kB / 0.4895 GB, free: 9.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.123, allocations: 37.64 kB / 0.4896 GB, free: 9.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.1232, allocations: 255.4 kB / 0.4898 GB, free: 9.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.1233, allocations: 59.11 kB / 0.4899 GB, free: 9.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.1234, allocations: 57.98 kB / 0.4899 GB, free: 9.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1236, allocations: 346.7 kB / 0.4903 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.1238, allocations: 100.2 kB / 0.4903 GB, free: 8.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.1241, allocations: 201.3 kB / 0.4905 GB, free: 8.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.1245, allocations: 324.6 kB / 0.4909 GB, free: 8.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1246, allocations: 0 / 0.4909 GB, free: 8.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009322/0.1255, allocations: 477.4 kB / 0.4913 GB, free: 7.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1255, allocations: 8 kB / 0.4913 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006483/0.1262, allocations: 316.6 kB / 0.4916 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004806/0.1267, allocations: 141.1 kB / 0.4918 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.1269, allocations: 59.91 kB / 0.4918 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/0.1297, allocations: 2.444 MB / 0.4942 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.1299, allocations: 19.98 kB / 0.4942 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.13, allocations: 12 kB / 0.4942 GB, free: 4.668 MB / 382.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.000276/0.1302, allocations: 193.6 kB / 0.4944 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.755e-05/0.1303, allocations: 35.62 kB / 0.4944 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.1308, allocations: 265.3 kB / 0.4947 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.1308, allocations: 4 kB / 0.4947 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1308, allocations: 0 / 0.4947 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1308, allocations: 0 / 0.4947 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.132, allocations: 0.7429 MB / 0.4954 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.132, allocations: 0 / 0.4954 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.1322, allocations: 39.98 kB / 0.4955 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-05/0.1323, allocations: 32.83 kB / 0.4955 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.1323, allocations: 12.06 kB / 0.4955 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1323, allocations: 0 / 0.4955 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1323, allocations: 3.938 kB / 0.4955 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.133, allocations: 446.3 kB / 0.4959 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.1331, allocations: 112.7 kB / 0.496 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.1332, allocations: 4 kB / 0.496 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.1335, allocations: 11.98 kB / 0.4961 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.1335, allocations: 19.86 kB / 0.4961 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.1336, allocations: 8 kB / 0.4961 GB, free: 2.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003361/0.1339, allocations: 219.1 kB / 0.4963 GB, free: 2.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1339, allocations: 0 / 0.4963 GB, free: 2.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007628/0.1347, allocations: 88 kB / 0.4964 GB, free: 2.316 MB / 382.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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.136, allocations: 0.977 MB / 0.4973 GB, free: 1.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.1371, allocations: 414.6 kB / 0.4977 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1371, allocations: 0 / 0.4977 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.1374, allocations: 177.9 kB / 0.4979 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007399/0.1382, allocations: 53.77 kB / 0.4979 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006883/0.1451, allocations: 3.57 MB / 0.5014 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.1457, allocations: 0.838 MB / 0.5023 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002819/0.146, allocations: 70.86 kB / 0.5023 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.1463, allocations: 127.4 kB / 0.5024 GB, free: 11.82 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1463, allocations: 0 / 0.5024 GB, free: 11.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05008/0.1964, allocations: 7.454 MB / 0.5097 GB, free: 4.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.64, allocations: 20.3 kB / 0.5097 GB, free: 4.289 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)