Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",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.001691/0.001691, allocations: 103.6 kB / 16.45 MB, free: 6.445 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.001657/0.001657, allocations: 192.5 kB / 17.39 MB, free: 5.684 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.355/1.355, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04745/0.04745, allocations: 8.101 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09483/0.09615, allocations: 51.51 MB / 465.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002582/0.09878, allocations: 1.227 MB / 466.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.1009, allocations: 1.485 MB / 468.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.1011, allocations: 4 kB / 468.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.1017, allocations: 103.5 kB / 468.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003862/0.1021, allocations: 83.47 kB / 468.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.1039, allocations: 0.8866 MB / 469.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.1042, allocations: 167.2 kB / 469.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.1044, allocations: 53.52 kB / 469.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1045, allocations: 71.72 kB / 469.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.1047, allocations: 79.67 kB / 469.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.1047, allocations: 15.94 kB / 469.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004012/0.1051, allocations: 203.8 kB / 469.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.1052, allocations: 27.92 kB / 469.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.034e-05/0.1053, allocations: 83.52 kB / 470 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.1058, allocations: 303 kB / 470.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1058, allocations: 0 / 470.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1058, allocations: 4 kB / 470.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1058, allocations: 0 / 470.3 MB, free: 13.87 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001738/0.1076, allocations: 0.6317 MB / 470.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1076, allocations: 11.89 kB / 470.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.239e-05/0.1077, allocations: 42.73 kB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.1077, allocations: 20.75 kB / 471 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.108, allocations: 224.6 kB / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.108, allocations: 8.609 kB / 471.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1081, allocations: 12.38 kB / 471.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.1084, allocations: 183.4 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1084, allocations: 4 kB / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.1084, allocations: 4 kB / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1084, allocations: 4 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.1087, allocations: 160.6 kB / 471.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.1097, allocations: 0.6952 MB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.1102, allocations: 210.4 kB / 472.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.1104, allocations: 96.83 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.334e-05/0.1104, allocations: 4 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.1105, allocations: 34.56 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.1105, allocations: 0 / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001688/0.1122, allocations: 0.5657 MB / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.1122, allocations: 55.34 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.1124, allocations: 178.1 kB / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1124, allocations: 29.7 kB / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.1125, allocations: 112.3 kB / 473.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.1126, allocations: 55.2 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.96e-05/0.1127, allocations: 45.69 kB / 473.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1128, allocations: 326.8 kB / 473.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.113, allocations: 87.97 kB / 474 MB, free: 9.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.1132, allocations: 94.81 kB / 474.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.1135, allocations: 216.7 kB / 474.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1135, allocations: 4 kB / 474.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008399/0.1143, allocations: 384.3 kB / 474.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1144, allocations: 7.938 kB / 474.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1144, allocations: 3.938 kB / 474.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006686/0.1151, allocations: 140.7 kB / 474.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1152, allocations: 27.98 kB / 474.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.1176, allocations: 2.032 MB / 476.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.1178, allocations: 11.84 kB / 476.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.1178, allocations: 11.98 kB / 476.9 MB, free: 6.758 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 (18): * Single equations (assignments): 17 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.118, allocations: 133.8 kB / 477.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.118, allocations: 11.91 kB / 477.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008546/0.1189, allocations: 362.5 kB / 477.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1189, allocations: 8 kB / 477.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1189, allocations: 0 / 477.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1189, allocations: 4 kB / 477.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.1192, allocations: 293.3 kB / 477.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1192, allocations: 0 / 477.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.371e-05/0.1193, allocations: 27.92 kB / 477.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005682/0.1199, allocations: 132.7 kB / 477.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1199, allocations: 8 kB / 477.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/0.1222, allocations: 2.005 MB / 479.9 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1222, allocations: 0 / 479.9 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.123, allocations: 428 kB / 480.3 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.1231, allocations: 104.8 kB / 480.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.1231, allocations: 4 kB / 480.4 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.1233, allocations: 15.88 kB / 480.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.1234, allocations: 19.97 kB / 480.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.1234, allocations: 8 kB / 480.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.1235, allocations: 128.1 kB / 480.6 MB, free: 2.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1235, allocations: 0 / 480.6 MB, free: 2.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003621/0.1239, allocations: 68 kB / 480.7 MB, free: 2.793 MB / 350.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 (13): * Single equations (assignments): 12 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/0.125, allocations: 0.9783 MB / 481.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008249/0.1259, allocations: 372.9 kB / 482 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1259, allocations: 0 / 482 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004813/0.1264, allocations: 270.5 kB / 482.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1267, allocations: 23.59 kB / 482.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.1301, allocations: 2.379 MB / 484.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.1305, allocations: 0.7203 MB / 485.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.093e-05/0.1305, allocations: 25.34 kB / 485.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.1306, allocations: 47.41 kB / 485.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1306, allocations: 0 / 485.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.1585, allocations: 6.12 MB / 491.6 MB, free: 7.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.58, allocations: 7.625 kB / 491.6 MB, free: 7.805 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)