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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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: translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008375/0.0008375, allocations: 96.2 kB / 15.73 MB, free: 440 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.0008991/0.0008992, allocations: 177.8 kB / 16.62 MB, free: 6.426 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.276/1.276, allocations: 223.2 MB / 240.6 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1852/0.1852, allocations: 8.084 MB / 299.7 MB, free: 2.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.0002781, allocations: 11.98 kB / 362.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.09799, allocations: 52.51 MB / 415.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.001124/0.09916, allocations: 0.5202 MB / 415.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1007, allocations: 1.233 MB / 417 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.1008, allocations: 0 / 417 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.101, allocations: 51.81 kB / 417.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.1011, allocations: 31.88 kB / 417.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006036/0.1017, allocations: 287 kB / 417.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.1018, allocations: 47.88 kB / 417.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.102, allocations: 23.97 kB / 417.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.742e-05/0.102, allocations: 31.91 kB / 417.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.1022, allocations: 31.84 kB / 417.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1022, allocations: 4 kB / 417.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.1024, allocations: 91.75 kB / 417.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.1024, allocations: 7.984 kB / 417.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.1024, allocations: 41.64 kB / 417.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1026, allocations: 104 kB / 417.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.1026, allocations: 0 / 417.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1027, allocations: 0 / 417.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.758e-06/0.1027, allocations: 0 / 417.8 MB, free: 6.25 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.0008248/0.1035, allocations: 431 kB / 418.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1035, allocations: 8.031 kB / 418.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.1036, allocations: 11.86 kB / 418.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.1038, allocations: 179 kB / 418.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1038, allocations: 4 kB / 418.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.1038, allocations: 7.938 kB / 418.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.104, allocations: 97.59 kB / 418.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.104, allocations: 0 / 418.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.104, allocations: 4 kB / 418.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.104, allocations: 0 / 418.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1042, allocations: 71.92 kB / 418.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.1047, allocations: 396.7 kB / 418.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.105, allocations: 114.6 kB / 419.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.1051, allocations: 4 kB / 419.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1051, allocations: 30.56 kB / 419.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.1051, allocations: 0 / 419.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005771/0.1057, allocations: 235.5 kB / 419.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.1057, allocations: 51.41 kB / 419.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1059, allocations: 142 kB / 419.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1059, allocations: 25.7 kB / 419.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.106, allocations: 104.1 kB / 419.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.106, allocations: 31.78 kB / 419.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.106, allocations: 0 / 419.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1062, allocations: 318.8 kB / 420 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.983e-05/0.1062, allocations: 27.98 kB / 420 MB, free: 3.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.113e-05/0.1063, allocations: 35.98 kB / 420 MB, free: 3.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.946e-05/0.1064, allocations: 44.06 kB / 420.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1064, allocations: 3.953 kB / 420.1 MB, free: 3.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002512/0.1066, allocations: 138.4 kB / 420.2 MB, free: 3.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1066, allocations: 7.984 kB / 420.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1067, allocations: 4 kB / 420.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/0.1069, allocations: 28.84 kB / 420.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.107, allocations: 19.98 kB / 420.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.1081, allocations: 1.339 MB / 421.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.833e-05/0.1081, allocations: 7.969 kB / 421.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1082, allocations: 320 / 421.6 MB, free: 1.996 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.645e-05/0.1083, allocations: 122.3 kB / 421.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.1083, allocations: 7.906 kB / 421.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.1086, allocations: 130.8 kB / 421.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1086, allocations: 4.188 kB / 421.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1086, allocations: 4 kB / 421.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1086, allocations: 0 / 421.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.1088, allocations: 213.4 kB / 422.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1088, allocations: 7.984 kB / 422.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.1089, allocations: 4 kB / 422.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001433/0.109, allocations: 36.83 kB / 422.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.109, allocations: 0 / 422.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009846/0.11, allocations: 1.335 MB / 423.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1101, allocations: 4.25 kB / 423.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.1103, allocations: 212.3 kB / 423.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.1104, allocations: 92.94 kB / 423.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1104, allocations: 0 / 423.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1105, allocations: 11.98 kB / 423.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.1105, allocations: 11.95 kB / 423.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1105, allocations: 4 kB / 423.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.994e-05/0.1107, allocations: 118.9 kB / 423.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1107, allocations: 0 / 423.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1109, allocations: 20 kB / 423.9 MB, free: 15.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001844/0.1111, allocations: 115.2 kB / 424.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003591/0.1115, allocations: 194.6 kB / 424.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1115, allocations: 0 / 424.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.1117, allocations: 158.6 kB / 424.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.1119, allocations: 8 kB / 424.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.1123, allocations: 249.9 kB / 424.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.1125, allocations: 0.6926 MB / 425.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.972e-05/0.1126, allocations: 16.64 kB / 425.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.1126, allocations: 11.44 kB / 425.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1126, allocations: 0 / 425.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of Templates: time 0.00365/0.1163, allocations: 1.386 MB / 426.8 MB, free: 12.54 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile Environment - environmentSimulation: (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 & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1) Environment - environmentSimulation: