Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",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.001009/0.001009, allocations: 109.7 kB / 16.45 MB, free: 6.457 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.001057/0.001057, allocations: 192 kB / 17.39 MB, free: 5.68 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.227/1.227, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04185/0.04185, allocations: 8.098 MB / 299.3 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08248/0.08368, allocations: 51.52 MB / 465.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.001982/0.08569, allocations: 1.065 MB / 466.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.08727, allocations: 1.454 MB / 468 MB, free: 152 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.032e-05/0.08735, allocations: 8 kB / 468 MB, free: 144 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.08768, allocations: 103.5 kB / 468.1 MB, free: 40 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.08797, allocations: 83.52 kB / 468.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.08934, allocations: 0.8634 MB / 469.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.08954, allocations: 111.4 kB / 469.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.08966, allocations: 37.08 kB / 469.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.455e-05/0.08972, allocations: 39.81 kB / 469.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.874e-05/0.0898, allocations: 59.75 kB / 469.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.08983, allocations: 8 kB / 469.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003371/0.09017, allocations: 211.8 kB / 469.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.09021, allocations: 27.84 kB / 469.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.09027, allocations: 55.73 kB / 469.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003593/0.09063, allocations: 275.4 kB / 469.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.09065, allocations: 0 / 469.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.09065, allocations: 0 / 469.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.09066, allocations: 3.938 kB / 469.9 MB, free: 14.28 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001716/0.09238, allocations: 0.6507 MB / 470.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.09243, allocations: 15.89 kB / 470.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.09248, allocations: 34.75 kB / 470.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.09252, allocations: 12.89 kB / 470.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.09271, allocations: 208.2 kB / 470.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.09273, allocations: 12.36 kB / 470.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.09276, allocations: 12.38 kB / 470.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.09302, allocations: 158.9 kB / 471 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.09304, allocations: 3.938 kB / 471 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.09307, allocations: 8 kB / 471 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.09308, allocations: 0 / 471 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.09328, allocations: 123.9 kB / 471.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007831/0.09407, allocations: 496.4 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006165/0.0947, allocations: 178.6 kB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.62e-05/0.09478, allocations: 52.84 kB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003944/0.09519, allocations: 454.5 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.09522, allocations: 38.5 kB / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.09523, allocations: 0 / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007043/0.09594, allocations: 295.7 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.09599, allocations: 81.2 kB / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.09612, allocations: 168.9 kB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.09615, allocations: 25.7 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.09621, allocations: 115.9 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.09624, allocations: 35.69 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.09631, allocations: 49.7 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.09641, allocations: 322.8 kB / 473.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-05/0.09651, allocations: 63.97 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.09664, allocations: 106 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.09689, allocations: 177 kB / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.0969, allocations: 0 / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005154/0.09742, allocations: 261.4 kB / 474 MB, free: 9.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.09745, allocations: 7.984 kB / 474 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.09747, allocations: 4 kB / 474 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004062/0.09788, allocations: 64.75 kB / 474 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.09804, allocations: 44.23 kB / 474.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.09931, allocations: 1.476 MB / 475.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.09946, allocations: 27.84 kB / 475.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.09949, allocations: 11.94 kB / 475.6 MB, free: 8.055 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 (21): * Single equations (assignments): 20 * 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.333e-05/0.09958, allocations: 125.8 kB / 475.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.09963, allocations: 20 kB / 475.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004186/0.1001, allocations: 187.1 kB / 475.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1001, allocations: 0 / 475.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1001, allocations: 0 / 475.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1001, allocations: 3.938 kB / 475.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.1003, allocations: 241.5 kB / 476.2 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1003, allocations: 0 / 476.2 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-05/0.1004, allocations: 12 kB / 476.2 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002981/0.1007, allocations: 72.73 kB / 476.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1007, allocations: 4 kB / 476.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.1018, allocations: 1.469 MB / 477.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1018, allocations: 4.062 kB / 477.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.1022, allocations: 276.2 kB / 478 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.1023, allocations: 89.02 kB / 478.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.1023, allocations: 4 kB / 478.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1024, allocations: 11.98 kB / 478.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.1024, allocations: 4 kB / 478.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1024, allocations: 0 / 478.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.45e-05/0.1025, allocations: 123.2 kB / 478.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1025, allocations: 0 / 478.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.1028, allocations: 40 kB / 478.3 MB, free: 5.145 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 (10): * Single equations (assignments): 9 * 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.0007217/0.1036, allocations: 0.8301 MB / 479.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.1041, allocations: 274.5 kB / 479.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1041, allocations: 0 / 479.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002757/0.1044, allocations: 170.7 kB / 479.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.1046, allocations: 15.98 kB / 479.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.1067, allocations: 1.957 MB / 481.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.1069, allocations: 0.7006 MB / 482.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.631e-05/0.107, allocations: 20.86 kB / 482.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.1071, allocations: 35.42 kB / 482.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1071, allocations: 0 / 482.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.1292, allocations: 3.547 MB / 485.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.368/8.497, allocations: 7.75 kB / 485.8 MB, free: 13.49 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)