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.001088/0.001088, allocations: 106.5 kB / 16.45 MB, free: 6.441 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.001117/0.001117, allocations: 194 kB / 17.39 MB, free: 5.688 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.303/1.303, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04849/0.04849, allocations: 8.1 MB / 299.3 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09423/0.09566, allocations: 51.51 MB / 465.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002488/0.09819, allocations: 1.162 MB / 466.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1001, allocations: 1.442 MB / 468.1 MB, free: 36 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.1002, allocations: 7.938 kB / 468.1 MB, free: 28 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.1006, allocations: 103.5 kB / 468.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.1009, allocations: 71.55 kB / 468.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.1023, allocations: 0.7544 MB / 469 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.1026, allocations: 135.4 kB / 469.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.1027, allocations: 53.02 kB / 469.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.836e-05/0.1028, allocations: 59.78 kB / 469.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.848e-05/0.1029, allocations: 67.77 kB / 469.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.1029, allocations: 8 kB / 469.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003241/0.1033, allocations: 167.8 kB / 469.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.284e-05/0.1033, allocations: 27.91 kB / 469.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.432e-05/0.1034, allocations: 63.67 kB / 469.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.1038, allocations: 266.9 kB / 469.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1038, allocations: 0 / 469.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1039, allocations: 3.938 kB / 469.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1039, allocations: 0 / 469.9 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.001513/0.1054, allocations: 0.585 MB / 470.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1054, allocations: 15.89 kB / 470.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.112e-05/0.1055, allocations: 46.73 kB / 470.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.1056, allocations: 16.75 kB / 470.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.1058, allocations: 211.8 kB / 470.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1058, allocations: 12.61 kB / 470.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1058, allocations: 12.38 kB / 470.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.1061, allocations: 164 kB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1061, allocations: 3.938 kB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.1062, allocations: 8 kB / 470.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1062, allocations: 0 / 470.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.1064, allocations: 160.6 kB / 471.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008922/0.1073, allocations: 0.5636 MB / 471.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.1076, allocations: 158.5 kB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1077, allocations: 68.84 kB / 471.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.1077, allocations: 12.23 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1078, allocations: 34.56 kB / 471.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.1078, allocations: 0 / 471.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00101/0.1088, allocations: 383.4 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.1089, allocations: 59.34 kB / 472.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.109, allocations: 172.6 kB / 472.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1091, allocations: 33.7 kB / 472.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/0.1091, allocations: 116.1 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.1092, allocations: 39.39 kB / 472.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.1093, allocations: 53.59 kB / 472.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1094, allocations: 326.8 kB / 473.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.1096, allocations: 87.97 kB / 473.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1097, allocations: 93.59 kB / 473.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.11, allocations: 187.7 kB / 473.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.11, allocations: 0 / 473.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005323/0.1106, allocations: 306.1 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1106, allocations: 4 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1106, allocations: 0 / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002883/0.1109, allocations: 60.81 kB / 473.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.1111, allocations: 39.92 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.1125, allocations: 1.535 MB / 475.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.1126, allocations: 19.81 kB / 475.4 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.1126, allocations: 4 kB / 475.4 MB, free: 8.332 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.0001193/0.1128, allocations: 133.9 kB / 475.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.1128, allocations: 19.73 kB / 475.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004709/0.1133, allocations: 235.2 kB / 475.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1133, allocations: 7.984 kB / 475.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1133, allocations: 0 / 475.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1133, allocations: 0 / 475.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.1136, allocations: 261.4 kB / 476 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1136, allocations: 3.938 kB / 476 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.189e-05/0.1137, allocations: 23.98 kB / 476.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000196/0.1139, allocations: 48.81 kB / 476.1 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.1139, allocations: 4 kB / 476.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.1152, allocations: 1.531 MB / 477.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1152, allocations: 4.031 kB / 477.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004413/0.1156, allocations: 300 kB / 477.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.1157, allocations: 92.94 kB / 478 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.1157, allocations: 0 / 478 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.1159, allocations: 11.94 kB / 478 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.1159, allocations: 12.05 kB / 478 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.1159, allocations: 8 kB / 478.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.116, allocations: 129.5 kB / 478.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.116, allocations: 0 / 478.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003186/0.1164, allocations: 52 kB / 478.2 MB, free: 5.238 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.0007548/0.1171, allocations: 0.8573 MB / 479.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006306/0.1178, allocations: 322.6 kB / 479.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1178, allocations: 0 / 479.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.1181, allocations: 198.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.0002423/0.1184, allocations: 8 kB / 479.6 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.1208, allocations: 2.091 MB / 481.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.1211, allocations: 0.7045 MB / 482.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.823e-05/0.1212, allocations: 20.61 kB / 482.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.1213, allocations: 47.42 kB / 482.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1213, allocations: 0 / 482.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.1432, allocations: 3.937 MB / 486.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.651/8.794, allocations: 15.88 kB / 486.4 MB, free: 12.97 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)