Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",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.0007604/0.0007605, allocations: 97.72 kB / 16.06 MB, free: 40 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.0008818/0.0008817, allocations: 184.6 kB / 16.96 MB, free: 6.914 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.271/1.271, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1439/0.1439, allocations: 8.08 MB / 300.2 MB, free: 2.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002922, allocations: 16 kB / 363.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.099, allocations: 52.51 MB / 416.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.001884/0.1009, allocations: 1.454 MB / 417.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.1031, allocations: 1.547 MB / 419.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.1033, allocations: 4 kB / 419.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.1037, allocations: 119.5 kB / 419.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004201/0.1041, allocations: 135.3 kB / 419.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.1059, allocations: 1.012 MB / 420.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004076/0.1063, allocations: 270.6 kB / 420.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.1065, allocations: 72.45 kB / 420.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1067, allocations: 103.6 kB / 420.8 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.1069, allocations: 131.4 kB / 420.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.1069, allocations: 12 kB / 421 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.1074, allocations: 235.8 kB / 421.2 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.1074, allocations: 39.78 kB / 421.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1076, allocations: 153 kB / 421.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005641/0.1082, allocations: 438.8 kB / 421.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1082, allocations: 4 kB / 421.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1082, allocations: 0 / 421.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1082, allocations: 0 / 421.8 MB, free: 2.582 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.003821/0.112, allocations: 1.061 MB / 422.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1121, allocations: 8.031 kB / 422.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.256e-05/0.1122, allocations: 54.73 kB / 422.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.892e-05/0.1123, allocations: 32.56 kB / 423 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1125, allocations: 267.8 kB / 423.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.1126, allocations: 20.75 kB / 423.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.1126, allocations: 28.38 kB / 423.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.1132, allocations: 347.7 kB / 423.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1132, allocations: 3.938 kB / 423.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.1132, allocations: 12 kB / 423.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1133, allocations: 4 kB / 423.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.1137, allocations: 295.3 kB / 423.9 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1685/0.2822, allocations: 1.349 MB / 425.3 MB, free: 40.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007365/0.283, allocations: 379.4 kB / 425.6 MB, free: 40 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.2832, allocations: 176.3 kB / 425.8 MB, free: 40 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000639/0.2838, allocations: 0.696 MB / 426.5 MB, free: 39.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.2838, allocations: 45.97 kB / 426.5 MB, free: 39.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.2839, allocations: 0 / 426.5 MB, free: 39.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.003194/0.2871, allocations: 1.129 MB / 427.7 MB, free: 39.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.2871, allocations: 106 kB / 427.8 MB, free: 39.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.2873, allocations: 226.2 kB / 428 MB, free: 39.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.2873, allocations: 35.89 kB / 428 MB, free: 39.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.2874, allocations: 150 kB / 428.2 MB, free: 38.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.2874, allocations: 95.66 kB / 428.3 MB, free: 38.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.2875, allocations: 48.91 kB / 428.3 MB, free: 38.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.411e-05/0.2876, allocations: 334.2 kB / 428.7 MB, free: 38.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.2878, allocations: 190.3 kB / 428.8 MB, free: 38.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.2881, allocations: 264.7 kB / 429.1 MB, free: 38.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.2886, allocations: 472.8 kB / 429.6 MB, free: 38.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2886, allocations: 0 / 429.6 MB, free: 38.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001817/0.2905, allocations: 0.8178 MB / 430.4 MB, free: 38.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2905, allocations: 6.594 kB / 430.4 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2905, allocations: 4.125 kB / 430.4 MB, free: 38.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/0.2924, allocations: 429.5 kB / 430.8 MB, free: 38.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.2926, allocations: 73.2 kB / 430.9 MB, free: 38.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.2962, allocations: 3.71 MB / 434.6 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.2965, allocations: 48.34 kB / 434.6 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.2966, allocations: 13.31 kB / 434.6 MB, free: 35.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.2967, allocations: 148.3 kB / 434.8 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.2968, allocations: 24.62 kB / 434.8 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.2987, allocations: 0.7334 MB / 435.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2987, allocations: 6.344 kB / 435.6 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2987, allocations: 4.078 kB / 435.6 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2987, allocations: 0 / 435.6 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.299, allocations: 424.3 kB / 436 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.299, allocations: 0.5 kB / 436 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.2991, allocations: 46.47 kB / 436 MB, free: 35.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.3009, allocations: 407.3 kB / 436.4 MB, free: 35.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.301, allocations: 14.44 kB / 436.4 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00335/0.3043, allocations: 3.717 MB / 440.1 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3043, allocations: 0 / 440.1 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.306, allocations: 0.7746 MB / 440.9 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.3061, allocations: 106.6 kB / 441 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.3061, allocations: 12.81 kB / 441 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.3064, allocations: 13.8 kB / 441.1 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.3064, allocations: 27.34 kB / 441.1 MB, free: 31.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.3065, allocations: 10.5 kB / 441.1 MB, free: 31.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.3066, allocations: 162.4 kB / 441.2 MB, free: 31.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3066, allocations: 4 kB / 441.3 MB, free: 31.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005071/0.3071, allocations: 116.3 kB / 441.4 MB, free: 31.48 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001876/0.309, allocations: 1.331 MB / 442.7 MB, free: 30.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.3104, allocations: 0.7681 MB / 443.5 MB, free: 30.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3104, allocations: 3.344 kB / 443.5 MB, free: 30.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009452/0.3114, allocations: 0.5066 MB / 444 MB, free: 29.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.3117, allocations: 26.31 kB / 444 MB, free: 29.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005635/0.3174, allocations: 3.831 MB / 447.8 MB, free: 27.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.3176, allocations: 0.757 MB / 448.6 MB, free: 26.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.3177, allocations: 40.11 kB / 448.6 MB, free: 26.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.3178, allocations: 82.03 kB / 448.7 MB, free: 26.61 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3178, allocations: 2.844 kB / 448.7 MB, free: 26.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.3355, allocations: 8.433 MB / 457.1 MB, free: 26.01 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/0.3357, allocations: 227 kB / 457.4 MB, free: 25.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.165, allocations: 4 kB / 457.4 MB, free: 25.75 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)