Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",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.001143/0.001143, allocations: 100.7 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 178.2 kB / 16.62 MB, free: 6.422 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.287/1.287, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1412/0.1412, allocations: 8.082 MB / 299.7 MB, free: 2.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.000287, allocations: 8 kB / 362.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09423/0.09453, allocations: 52.51 MB / 415.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.0008791/0.09545, allocations: 0.5261 MB / 415.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.09678, allocations: 1.229 MB / 417.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.09682, allocations: 0 / 417.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.09701, allocations: 47.77 kB / 417.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.09713, allocations: 39.92 kB / 417.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.09767, allocations: 290.6 kB / 417.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.247e-05/0.09776, allocations: 47.92 kB / 417.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.638e-05/0.09785, allocations: 19.97 kB / 417.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.09789, allocations: 27.86 kB / 417.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.09801, allocations: 43.89 kB / 417.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.09803, allocations: 4 kB / 417.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.0982, allocations: 83.81 kB / 417.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.09822, allocations: 4 kB / 417.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.09826, allocations: 37.64 kB / 417.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.09842, allocations: 104 kB / 417.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.09843, allocations: 0 / 417.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09844, allocations: 3.938 kB / 417.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.09845, allocations: 0 / 417.8 MB, free: 6.168 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007565/0.09921, allocations: 427 kB / 418.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.09925, allocations: 8.031 kB / 418.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.0993, allocations: 42.55 kB / 418.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.09933, allocations: 11.86 kB / 418.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.0995, allocations: 178.9 kB / 418.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.09952, allocations: 7.938 kB / 418.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.09953, allocations: 4 kB / 418.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.09971, allocations: 101.6 kB / 418.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.09972, allocations: 0 / 418.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.09974, allocations: 12 kB / 418.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.09975, allocations: 3.953 kB / 418.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.09987, allocations: 63.97 kB / 418.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.1004, allocations: 392.6 kB / 419.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.1007, allocations: 110.6 kB / 419.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.1008, allocations: 4 kB / 419.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1008, allocations: 38.48 kB / 419.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1008, allocations: 0 / 419.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005404/0.1013, allocations: 239.5 kB / 419.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.1014, allocations: 51.41 kB / 419.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1015, allocations: 134.1 kB / 419.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1016, allocations: 33.7 kB / 419.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.1016, allocations: 96.12 kB / 419.8 MB, free: 4.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.1016, allocations: 27.8 kB / 419.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.1016, allocations: 0 / 419.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1018, allocations: 322.8 kB / 420.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.931e-05/0.1018, allocations: 35.92 kB / 420.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.431e-05/0.1019, allocations: 31.98 kB / 420.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.198e-05/0.1019, allocations: 44.08 kB / 420.2 MB, free: 3.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1019, allocations: 0 / 420.2 MB, free: 3.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002717/0.1022, allocations: 142.4 kB / 420.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1022, allocations: 4 kB / 420.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1023, allocations: 4 kB / 420.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/0.1025, allocations: 28.83 kB / 420.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/0.1026, allocations: 19.98 kB / 420.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.1036, allocations: 1.339 MB / 421.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.071e-05/0.1037, allocations: 7.969 kB / 421.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1037, allocations: 0 / 421.8 MB, free: 1.863 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.22e-05/0.1038, allocations: 126.3 kB / 421.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.1038, allocations: 7.906 kB / 421.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.1041, allocations: 126.9 kB / 422 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1041, allocations: 4.188 kB / 422 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1041, allocations: 7.938 kB / 422 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1041, allocations: 3.953 kB / 422 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.1043, allocations: 201.5 kB / 422.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1044, allocations: 4 kB / 422.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.1044, allocations: 11.94 kB / 422.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/0.1046, allocations: 36.83 kB / 422.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1046, allocations: 0 / 422.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009744/0.1056, allocations: 1.339 MB / 423.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1056, allocations: 4.25 kB / 423.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.1058, allocations: 208.4 kB / 423.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.1059, allocations: 88.94 kB / 423.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1059, allocations: 4 kB / 423.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.106, allocations: 11.94 kB / 423.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.1061, allocations: 11.94 kB / 423.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.1061, allocations: 4 kB / 423.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.189e-05/0.1062, allocations: 119.1 kB / 424.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1062, allocations: 0 / 424.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1065, allocations: 24 kB / 424.1 MB, free: 15.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005432/0.107, allocations: 0.7483 MB / 424.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.1073, allocations: 198.7 kB / 425 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1074, allocations: 0 / 425 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.1076, allocations: 154.5 kB / 425.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.1078, allocations: 15.94 kB / 425.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000976/0.1088, allocations: 0.663 MB / 425.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.109, allocations: 0.6926 MB / 426.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.215e-05/0.1091, allocations: 12.64 kB / 426.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.1091, allocations: 19.44 kB / 426.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1091, allocations: 4 kB / 426.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0118/0.1209, allocations: 2.51 MB / 429.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.1211, allocations: 191.9 kB / 429.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/1.619, allocations: 3.938 kB / 429.3 MB, free: 10.02 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1) Environment - environmentSimulation: