Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",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.001519/0.001519, allocations: 105.5 kB / 16.45 MB, free: 6.438 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.001663/0.001663, allocations: 186.9 kB / 17.39 MB, free: 5.668 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.309/1.309, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04854/0.04854, allocations: 8.101 MB / 299.3 MB, free: 6.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 71.89 kB / 414 MB, free: 22.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09516/0.09632, allocations: 51.51 MB / 465.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.003237/0.09959, allocations: 1.154 MB / 466.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.1018, allocations: 1.434 MB / 468.1 MB, free: 44 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.1019, allocations: 7.938 kB / 468.1 MB, free: 36 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004369/0.1024, allocations: 107.5 kB / 468.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.1027, allocations: 75.55 kB / 468.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.1043, allocations: 0.7506 MB / 469 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.1047, allocations: 135.3 kB / 469.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.1049, allocations: 49.08 kB / 469.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.42e-05/0.1049, allocations: 63.77 kB / 469.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.635e-05/0.105, allocations: 71.7 kB / 469.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1051, allocations: 8 kB / 469.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.1054, allocations: 163.8 kB / 469.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.1054, allocations: 19.94 kB / 469.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.1055, allocations: 75.58 kB / 469.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.1059, allocations: 263 kB / 469.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1059, allocations: 0 / 469.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1059, allocations: 0 / 469.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.882e-06/0.1059, allocations: 4 kB / 469.8 MB, free: 14.27 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.00144/0.1074, allocations: 0.585 MB / 470.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1074, allocations: 11.89 kB / 470.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.516e-05/0.1075, allocations: 50.67 kB / 470.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.1075, allocations: 16.75 kB / 470.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.1078, allocations: 203.4 kB / 470.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1078, allocations: 12.61 kB / 470.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.1078, allocations: 12.38 kB / 470.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.1081, allocations: 176 kB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1081, allocations: 7.875 kB / 470.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.1082, allocations: 8 kB / 470.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1082, allocations: 4 kB / 470.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.1084, allocations: 148.6 kB / 471.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008732/0.1093, allocations: 0.5597 MB / 471.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.1096, allocations: 158.5 kB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1097, allocations: 72.84 kB / 471.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.1097, allocations: 4.25 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.1098, allocations: 34.56 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1098, allocations: 0 / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009697/0.1108, allocations: 395.2 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.1108, allocations: 51.41 kB / 472.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.111, allocations: 176.6 kB / 472.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.111, allocations: 25.7 kB / 472.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/0.1111, allocations: 124.1 kB / 472.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.1111, allocations: 43.39 kB / 472.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.1112, allocations: 49.59 kB / 472.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1113, allocations: 326.8 kB / 473.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1115, allocations: 87.97 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.1116, allocations: 93.59 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.1119, allocations: 191.6 kB / 473.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1119, allocations: 0 / 473.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005366/0.1124, allocations: 302.2 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1125, allocations: 6.344 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.1125, allocations: 4 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.1128, allocations: 56.83 kB / 473.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.1129, allocations: 43.84 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.1144, allocations: 1.539 MB / 475.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.1146, allocations: 19.81 kB / 475.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1146, allocations: 4.125 kB / 475.4 MB, free: 8.328 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 (22): * Single equations (assignments): 21 * 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 0.0001191/0.1147, allocations: 129.8 kB / 475.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.1148, allocations: 11.81 kB / 475.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004771/0.1152, allocations: 235.2 kB / 475.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1153, allocations: 4 kB / 475.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1153, allocations: 0 / 475.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1153, allocations: 3.984 kB / 475.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.1155, allocations: 265.4 kB / 476 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1156, allocations: 3.938 kB / 476 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/0.1156, allocations: 19.98 kB / 476 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/0.1159, allocations: 56.75 kB / 476.1 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1159, allocations: 4 kB / 476.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.1172, allocations: 1.531 MB / 477.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1172, allocations: 7.969 kB / 477.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.1177, allocations: 296.1 kB / 477.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.1177, allocations: 92.94 kB / 478 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.1178, allocations: 4 kB / 478 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.1179, allocations: 7.938 kB / 478 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.1179, allocations: 16.05 kB / 478.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.118, allocations: 4 kB / 478.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.469e-05/0.1181, allocations: 129.5 kB / 478.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1181, allocations: 0 / 478.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003243/0.1184, allocations: 56 kB / 478.2 MB, free: 5.234 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 (12): * Single equations (assignments): 11 * 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.0008158/0.1192, allocations: 0.8574 MB / 479.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006432/0.1199, allocations: 322.6 kB / 479.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1199, allocations: 0 / 479.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000369/0.1203, allocations: 194.6 kB / 479.6 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.1205, allocations: 12 kB / 479.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.1231, allocations: 2.092 MB / 481.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.1234, allocations: 0.7084 MB / 482.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.921e-05/0.1235, allocations: 20.62 kB / 482.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.1236, allocations: 39.42 kB / 482.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1236, allocations: 0 / 482.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.1463, allocations: 3.939 MB / 486.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.837/8.983, allocations: 20.02 kB / 486.4 MB, free: 12.96 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)