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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(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.0007524/0.0007525, allocations: 102.6 kB / 16.07 MB, free: 32 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.0008536/0.0008536, allocations: 181.4 kB / 16.97 MB, free: 6.879 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.316/1.316, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1474/0.1474, allocations: 8.091 MB / 300.2 MB, free: 2.941 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003096, allocations: 16 kB / 363.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09467/0.095, allocations: 52.51 MB / 416.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.001048/0.09608, allocations: 0.5705 MB / 416.7 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.09797, allocations: 1.287 MB / 418 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.09807, allocations: 0 / 418 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.09835, allocations: 55.77 kB / 418 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.09853, allocations: 35.81 kB / 418.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007211/0.09927, allocations: 334.7 kB / 418.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.09939, allocations: 67.61 kB / 418.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.09953, allocations: 31.97 kB / 418.5 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.624e-05/0.09959, allocations: 27.91 kB / 418.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.09973, allocations: 39.84 kB / 418.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.09975, allocations: 4 kB / 418.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.09997, allocations: 99.83 kB / 418.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.1, allocations: 7.969 kB / 418.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.1001, allocations: 61.45 kB / 418.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.1003, allocations: 147.8 kB / 418.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1003, allocations: 0 / 418.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1004, allocations: 0 / 418.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1004, allocations: 4 kB / 418.9 MB, free: 5.551 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.0009186/0.1013, allocations: 427.2 kB / 419.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.1013, allocations: 12.03 kB / 419.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.838e-05/0.1014, allocations: 42.73 kB / 419.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.1015, allocations: 8.844 kB / 419.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.1017, allocations: 180.2 kB / 419.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1017, allocations: 8.375 kB / 419.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1017, allocations: 12.36 kB / 419.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.1019, allocations: 90.17 kB / 419.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1019, allocations: 3.938 kB / 419.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.1019, allocations: 7.984 kB / 419.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1019, allocations: 4 kB / 419.6 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.1021, allocations: 67.95 kB / 419.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00061/0.1027, allocations: 388.6 kB / 420.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.103, allocations: 110.6 kB / 420.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.1031, allocations: 28.86 kB / 420.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.1031, allocations: 8.141 kB / 420.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1032, allocations: 30.56 kB / 420.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1032, allocations: 0 / 420.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006146/0.1038, allocations: 243.4 kB / 420.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.1038, allocations: 59.34 kB / 420.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.104, allocations: 134.1 kB / 420.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.104, allocations: 25.7 kB / 420.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.1041, allocations: 100 kB / 420.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.1041, allocations: 23.56 kB / 420.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.1042, allocations: 17.72 kB / 420.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1043, allocations: 322.8 kB / 421.2 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.163e-05/0.1043, allocations: 27.98 kB / 421.2 MB, free: 2.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.968e-05/0.1044, allocations: 35.98 kB / 421.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1045, allocations: 68.8 kB / 421.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1045, allocations: 0 / 421.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002818/0.1048, allocations: 150.6 kB / 421.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1048, allocations: 7.938 kB / 421.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1048, allocations: 4.312 kB / 421.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/0.1051, allocations: 36.77 kB / 421.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.1051, allocations: 12 kB / 421.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.1062, allocations: 1.343 MB / 422.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.859e-05/0.1063, allocations: 11.84 kB / 422.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1063, allocations: 4.031 kB / 422.9 MB, free: 1.148 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.982e-05/0.1064, allocations: 117.9 kB / 423 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.1065, allocations: 11.91 kB / 423 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.1068, allocations: 134.8 kB / 423.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1068, allocations: 0 / 423.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1068, allocations: 4 kB / 423.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1068, allocations: 0 / 423.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.107, allocations: 209.5 kB / 423.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.107, allocations: 0 / 423.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.1071, allocations: 8 kB / 423.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/0.1072, allocations: 36.83 kB / 423.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.1073, allocations: 4 kB / 423.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009809/0.1082, allocations: 1.327 MB / 424.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1083, allocations: 3.938 kB / 424.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.1085, allocations: 212.2 kB / 424.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.1086, allocations: 92.94 kB / 425 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.1086, allocations: 8.031 kB / 425 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1087, allocations: 8 kB / 425 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.1088, allocations: 7.984 kB / 425 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.1088, allocations: 4 kB / 425 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.897e-05/0.1089, allocations: 115.4 kB / 425.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1089, allocations: 0 / 425.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1092, allocations: 28 kB / 425.2 MB, free: 14.59 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005625/0.1097, allocations: 0.7483 MB / 425.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003543/0.1101, allocations: 206.6 kB / 426.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1101, allocations: 0 / 426.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.1103, allocations: 142.7 kB / 426.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.1106, allocations: 16.27 kB / 426.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.1123, allocations: 1.643 MB / 427.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.1126, allocations: 0.6925 MB / 428.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.603e-05/0.1126, allocations: 8.656 kB / 428.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.1127, allocations: 27.42 kB / 428.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1127, allocations: 4 kB / 428.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01316/0.1259, allocations: 2.57 MB / 431.2 MB, free: 8.492 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.1261, allocations: 197 kB / 431.4 MB, free: 8.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/1.729, allocations: 0 / 431.4 MB, free: 8.238 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/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)