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.004023/0.004023, allocations: 93.66 kB / 15.91 MB, free: 6.277 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.001048/0.001048, allocations: 196.8 kB / 16.84 MB, free: 6.191 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.246/1.246, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1442/0.1442, allocations: 8.075 MB / 298.7 MB, free: 2.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 67.89 kB / 361.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08278/0.08403, allocations: 51.52 MB / 412.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002209/0.08628, allocations: 1.205 MB / 413.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.08777, allocations: 1.442 MB / 415.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.08782, allocations: 4 kB / 415.3 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.08811, allocations: 91.66 kB / 415.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.08828, allocations: 67.67 kB / 415.5 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.08937, allocations: 0.7239 MB / 416.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.08954, allocations: 135.3 kB / 416.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.08965, allocations: 49.03 kB / 416.4 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.743e-05/0.0897, allocations: 47.84 kB / 416.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.455e-05/0.08978, allocations: 67.64 kB / 416.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.08981, allocations: 8 kB / 416.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.09004, allocations: 155.8 kB / 416.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.09007, allocations: 23.92 kB / 416.7 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.09014, allocations: 67.59 kB / 416.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.09043, allocations: 259.6 kB / 417 MB, free: 5.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.09045, allocations: 8 kB / 417 MB, free: 5.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.09045, allocations: 0 / 417 MB, free: 5.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.09046, allocations: 0 / 417 MB, free: 5.703 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.001305/0.09177, allocations: 0.5812 MB / 417.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.09181, allocations: 12.03 kB / 417.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.09186, allocations: 50.67 kB / 417.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.09191, allocations: 16.75 kB / 417.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.09207, allocations: 200.2 kB / 417.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.09209, allocations: 8.609 kB / 417.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.09213, allocations: 16.36 kB / 417.9 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.0924, allocations: 172 kB / 418 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.09242, allocations: 7.938 kB / 418.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.09244, allocations: 4 kB / 418.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.09245, allocations: 4 kB / 418.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.09267, allocations: 152.6 kB / 418.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007769/0.09345, allocations: 0.5597 MB / 418.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.09369, allocations: 166.5 kB / 418.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.0938, allocations: 64.84 kB / 419 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.09384, allocations: 8 kB / 419 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.09387, allocations: 34.81 kB / 419 MB, free: 3.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.133e-06/0.09388, allocations: 0 / 419 MB, free: 3.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009031/0.09478, allocations: 395.2 kB / 419.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.09482, allocations: 51.41 kB / 419.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.09495, allocations: 165.8 kB / 419.6 MB, free: 2.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.09498, allocations: 29.7 kB / 419.7 MB, free: 2.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.09504, allocations: 128.1 kB / 419.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.09508, allocations: 43.3 kB / 419.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.09516, allocations: 49.69 kB / 419.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.365e-05/0.09524, allocations: 322.8 kB / 420.2 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.09538, allocations: 87.97 kB / 420.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.09551, allocations: 91.97 kB / 420.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.09577, allocations: 191.2 kB / 420.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.09578, allocations: 0 / 420.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005128/0.0963, allocations: 307 kB / 420.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.09632, allocations: 4 kB / 420.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.09633, allocations: 0 / 420.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002567/0.09659, allocations: 48.83 kB / 420.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.09677, allocations: 39.91 kB / 420.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.09795, allocations: 1.44 MB / 422.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.09809, allocations: 16.03 kB / 422.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.09812, allocations: 8 kB / 422.4 MB, free: 15.89 MB / 366.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 9.476e-05/0.09822, allocations: 125.8 kB / 422.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.09826, allocations: 15.8 kB / 422.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/0.09873, allocations: 243.1 kB / 422.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.09874, allocations: 4 kB / 422.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.09875, allocations: 0 / 422.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.09875, allocations: 0 / 422.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.09899, allocations: 265.4 kB / 423.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.099, allocations: 0 / 423.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.023e-05/0.09908, allocations: 19.98 kB / 423.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/0.09929, allocations: 48.77 kB / 423.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.09932, allocations: 19.86 kB / 423.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.1004, allocations: 1.425 MB / 424.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1004, allocations: 0 / 424.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.1009, allocations: 311.7 kB / 424.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.1009, allocations: 88.95 kB / 425 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.1009, allocations: 3.984 kB / 425 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.1011, allocations: 4 kB / 425 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.1011, allocations: 16.08 kB / 425 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.1011, allocations: 3.984 kB / 425 MB, free: 13.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.515e-05/0.1012, allocations: 138.4 kB / 425.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1012, allocations: 0 / 425.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.1015, allocations: 51.91 kB / 425.2 MB, free: 12.89 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 (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.0006742/0.1022, allocations: 0.8458 MB / 426 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005613/0.1028, allocations: 326.6 kB / 426.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1028, allocations: 0 / 426.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.1031, allocations: 202.6 kB / 426.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.1034, allocations: 11.94 kB / 426.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.1057, allocations: 2.116 MB / 428.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.1059, allocations: 0.7087 MB / 429.4 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.197e-05/0.106, allocations: 16.62 kB / 429.4 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.106, allocations: 39.42 kB / 429.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.106, allocations: 0 / 429.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3429/0.4489, allocations: 3.627 MB / 433 MB, free: 4.938 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.4492, allocations: 212.8 kB / 433.3 MB, free: 4.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.082, allocations: 0 / 433.3 MB, free: 4.684 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)