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.001505/0.001506, allocations: 102.6 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.001384/0.001384, allocations: 186.4 kB / 17.38 MB, free: 5.691 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.436/1.436, 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.05234/0.05234, allocations: 8.098 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.89 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09315/0.09505, allocations: 51.51 MB / 465.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002447/0.09753, allocations: 1.228 MB / 466.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.09967, allocations: 1.473 MB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.673e-05/0.09975, allocations: 4 kB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.1001, allocations: 107.5 kB / 468.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.1004, allocations: 83.45 kB / 468.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.1021, allocations: 0.902 MB / 469.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.1023, allocations: 151.2 kB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.1025, allocations: 57.5 kB / 469.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.1026, allocations: 71.7 kB / 469.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.1027, allocations: 75.69 kB / 469.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.1027, allocations: 12 kB / 469.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.1031, allocations: 203.8 kB / 469.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.1032, allocations: 31.91 kB / 469.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.002e-05/0.1033, allocations: 79.55 kB / 470 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.1037, allocations: 315.2 kB / 470.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1038, allocations: 0 / 470.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1038, allocations: 0 / 470.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1038, allocations: 0 / 470.3 MB, free: 13.88 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.001749/0.1055, allocations: 0.6389 MB / 470.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1056, allocations: 11.89 kB / 470.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.1056, allocations: 46.73 kB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.1057, allocations: 20.78 kB / 471 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.106, allocations: 220.7 kB / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.106, allocations: 12.61 kB / 471.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.106, allocations: 12.38 kB / 471.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.1064, allocations: 183.4 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1064, allocations: 0 / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.1064, allocations: 3.938 kB / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1064, allocations: 4 kB / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.1067, allocations: 160.6 kB / 471.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.1078, allocations: 0.7109 MB / 472.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005405/0.1083, allocations: 202.5 kB / 472.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.1085, allocations: 88.84 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.1085, allocations: 7.984 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1086, allocations: 38.56 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 3.437e-06/0.1086, allocations: 0 / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00176/0.1104, allocations: 0.5773 MB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.1104, allocations: 51.41 kB / 473.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.1106, allocations: 163.9 kB / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.1106, allocations: 29.7 kB / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.002e-05/0.1107, allocations: 124.3 kB / 473.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.1108, allocations: 55.52 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/0.1109, allocations: 41.7 kB / 473.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.111, allocations: 322.8 kB / 474 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.1112, allocations: 99.97 kB / 474.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.1114, allocations: 94.81 kB / 474.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.1117, allocations: 212.6 kB / 474.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1117, allocations: 0 / 474.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008838/0.1126, allocations: 384.4 kB / 474.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1126, allocations: 11.94 kB / 474.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1126, allocations: 0 / 474.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006838/0.1133, allocations: 136.7 kB / 474.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1135, allocations: 27.98 kB / 474.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.1163, allocations: 2.047 MB / 476.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.1165, allocations: 19.95 kB / 477 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.1166, allocations: 4 kB / 477 MB, free: 6.746 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.0001602/0.1167, allocations: 133.7 kB / 477.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.1168, allocations: 11.91 kB / 477.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009248/0.1177, allocations: 362.4 kB / 477.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1177, allocations: 0 / 477.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1177, allocations: 8.062 kB / 477.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1177, allocations: 3.984 kB / 477.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.1181, allocations: 301.3 kB / 477.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.1181, allocations: 0 / 477.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.878e-05/0.1182, allocations: 23.98 kB / 477.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006237/0.1188, allocations: 136.7 kB / 477.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.1189, allocations: 4 kB / 477.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/0.1214, allocations: 2.009 MB / 479.9 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1214, allocations: 4.031 kB / 479.9 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008798/0.1223, allocations: 428.2 kB / 480.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.982e-05/0.1224, allocations: 96.89 kB / 480.5 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.1224, allocations: 11.94 kB / 480.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.1226, allocations: 11.98 kB / 480.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.1227, allocations: 11.98 kB / 480.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.1227, allocations: 4 kB / 480.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.1229, allocations: 136 kB / 480.6 MB, free: 2.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1229, allocations: 0 / 480.6 MB, free: 2.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004004/0.1233, allocations: 60 kB / 480.7 MB, free: 2.785 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.001337/0.1246, allocations: 0.9861 MB / 481.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008803/0.1255, allocations: 381.1 kB / 482 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.1255, allocations: 4 kB / 482.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005006/0.126, allocations: 258.5 kB / 482.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.1264, allocations: 15.98 kB / 482.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.1301, allocations: 2.385 MB / 484.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1305, allocations: 0.7241 MB / 485.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.134e-05/0.1306, allocations: 21.41 kB / 485.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.298e-05/0.1307, allocations: 43.42 kB / 485.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1307, allocations: 0 / 485.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/0.1645, allocations: 5.968 MB / 491.5 MB, free: 7.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.61, allocations: 0 / 491.5 MB, free: 7.949 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)