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.001356/0.001357, allocations: 107.2 kB / 16.45 MB, free: 6.453 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.001334/0.001334, allocations: 189.4 kB / 17.38 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.395/1.395, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05147/0.05147, allocations: 8.102 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 63.91 kB / 414 MB, free: 22.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07994/0.0818, allocations: 51.52 MB / 465.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002284/0.08413, allocations: 1.15 MB / 466.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.08602, allocations: 1.446 MB / 468.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.08609, allocations: 3.938 kB / 468.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.08642, allocations: 107.5 kB / 468.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.08663, allocations: 63.59 kB / 468.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.08799, allocations: 0.7584 MB / 469 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.08822, allocations: 131.4 kB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.08836, allocations: 53.08 kB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.472e-05/0.08845, allocations: 63.66 kB / 469.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.08856, allocations: 71.73 kB / 469.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.08859, allocations: 12 kB / 469.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.08889, allocations: 155.9 kB / 469.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.08893, allocations: 31.84 kB / 469.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.055e-05/0.08901, allocations: 59.67 kB / 469.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.08943, allocations: 267.4 kB / 469.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.08944, allocations: 3.938 kB / 469.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.08945, allocations: 0 / 469.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.08946, allocations: 0 / 469.9 MB, free: 14.15 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.001502/0.09097, allocations: 0.5923 MB / 470.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.09101, allocations: 11.89 kB / 470.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.303e-05/0.09107, allocations: 46.75 kB / 470.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.09112, allocations: 20.83 kB / 470.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.09135, allocations: 212.2 kB / 470.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.09137, allocations: 12.55 kB / 470.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.0914, allocations: 12.38 kB / 470.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.09171, allocations: 168 kB / 470.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.09173, allocations: 3.938 kB / 470.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.09175, allocations: 4 kB / 470.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.09177, allocations: 4 kB / 470.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.09202, allocations: 152.6 kB / 471.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009067/0.09294, allocations: 0.5676 MB / 471.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.09322, allocations: 150.5 kB / 471.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.09335, allocations: 69.09 kB / 471.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.0934, allocations: 12 kB / 471.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.09344, allocations: 34.56 kB / 471.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.09345, allocations: 0 / 471.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001025/0.09448, allocations: 391.1 kB / 472.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.09452, allocations: 55.41 kB / 472.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.09469, allocations: 172.7 kB / 472.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.09473, allocations: 29.7 kB / 472.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.09481, allocations: 116.3 kB / 472.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.09486, allocations: 47.59 kB / 472.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.61e-05/0.09495, allocations: 49.69 kB / 472.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.09509, allocations: 318.8 kB / 473.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.09525, allocations: 95.97 kB / 473.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.0954, allocations: 93.53 kB / 473.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.09571, allocations: 195.7 kB / 473.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.09572, allocations: 0 / 473.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000566/0.09629, allocations: 294.2 kB / 473.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.09632, allocations: 14.44 kB / 473.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.09633, allocations: 0 / 473.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/0.09661, allocations: 56.75 kB / 473.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.0968, allocations: 39.92 kB / 473.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.09839, allocations: 1.543 MB / 475.4 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.09854, allocations: 23.88 kB / 475.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.09857, allocations: 7.984 kB / 475.4 MB, free: 8.195 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.0001285/0.0987, allocations: 133.9 kB / 475.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.09875, allocations: 7.953 kB / 475.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005367/0.09929, allocations: 243.1 kB / 475.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.09931, allocations: 0 / 475.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/0.09932, allocations: 0 / 475.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.09932, allocations: 0 / 475.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.09963, allocations: 261.5 kB / 476 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.09964, allocations: 7.938 kB / 476 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.744e-05/0.09974, allocations: 19.94 kB / 476.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002169/0.09996, allocations: 48.81 kB / 476.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.09999, allocations: 8 kB / 476.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.1015, allocations: 1.531 MB / 477.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1015, allocations: 160 / 477.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.102, allocations: 308.2 kB / 478 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.1021, allocations: 89 kB / 478 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.1021, allocations: 4 kB / 478 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.1022, allocations: 11.92 kB / 478.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.1023, allocations: 7.938 kB / 478.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1023, allocations: 8 kB / 478.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1024, allocations: 141.5 kB / 478.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1024, allocations: 0 / 478.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.1027, allocations: 51.95 kB / 478.3 MB, free: 5.098 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.0008374/0.1036, allocations: 0.8498 MB / 479.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006637/0.1043, allocations: 326.5 kB / 479.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1043, allocations: 0 / 479.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004091/0.1047, allocations: 206.6 kB / 479.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.1049, allocations: 4 kB / 479.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.1077, allocations: 2.091 MB / 481.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.108, allocations: 0.7045 MB / 482.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.824e-05/0.1081, allocations: 16.62 kB / 482.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.445e-05/0.1082, allocations: 43.42 kB / 482.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1082, allocations: 4 kB / 482.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.1369, allocations: 3.876 MB / 486.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.717/9.854, allocations: 23.59 kB / 486.4 MB, free: 12.89 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)