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.001164/0.001164, allocations: 108.5 kB / 16.45 MB, free: 6.488 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.001198/0.001198, allocations: 186 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.297/1.297, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04705/0.04705, allocations: 8.104 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.91 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/0.09791, allocations: 51.52 MB / 465.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002327/0.1003, allocations: 1.061 MB / 466.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.1022, allocations: 1.454 MB / 468 MB, free: 140 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.1023, allocations: 0 / 468 MB, free: 140 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.1027, allocations: 99.48 kB / 468.1 MB, free: 40 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.1029, allocations: 87.62 kB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.1043, allocations: 0.8711 MB / 469.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.1045, allocations: 111.4 kB / 469.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1046, allocations: 37.09 kB / 469.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.861e-05/0.1047, allocations: 47.8 kB / 469.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.026e-05/0.1048, allocations: 55.77 kB / 469.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1048, allocations: 8 kB / 469.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003376/0.1051, allocations: 211.8 kB / 469.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.1052, allocations: 19.92 kB / 469.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.1052, allocations: 55.72 kB / 469.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.1056, allocations: 279 kB / 469.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1056, allocations: 0 / 469.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1056, allocations: 3.938 kB / 469.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1056, allocations: 4 kB / 469.9 MB, free: 14.27 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.0018/0.1074, allocations: 0.6395 MB / 470.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1075, allocations: 15.89 kB / 470.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.1075, allocations: 38.75 kB / 470.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.1076, allocations: 12.78 kB / 470.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.1078, allocations: 204.2 kB / 470.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1078, allocations: 8.375 kB / 470.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.1078, allocations: 8.375 kB / 470.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.1081, allocations: 170.5 kB / 471 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1081, allocations: 7.922 kB / 471 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.1081, allocations: 4 kB / 471 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1081, allocations: 7.938 kB / 471 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.1083, allocations: 116 kB / 471.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007118/0.109, allocations: 0.4886 MB / 471.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.1096, allocations: 174.6 kB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.087e-05/0.1097, allocations: 44.86 kB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004284/0.1102, allocations: 462.2 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.1102, allocations: 34.5 kB / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.465e-06/0.1102, allocations: 0 / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007411/0.111, allocations: 295.4 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.1111, allocations: 81.11 kB / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.1112, allocations: 165.5 kB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1112, allocations: 33.7 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.349e-05/0.1113, allocations: 115.8 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.1114, allocations: 31.55 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.1114, allocations: 45.61 kB / 473 MB, free: 10.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1116, allocations: 330.8 kB / 473.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.26e-05/0.1117, allocations: 59.97 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1118, allocations: 110 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.112, allocations: 175.4 kB / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1121, allocations: 0 / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004951/0.1126, allocations: 257.3 kB / 473.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1126, allocations: 8 kB / 474 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1126, allocations: 336 / 474 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003875/0.113, allocations: 72.89 kB / 474 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.1131, allocations: 39.91 kB / 474.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.1144, allocations: 1.477 MB / 475.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.1145, allocations: 31.95 kB / 475.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.1145, allocations: 8 kB / 475.6 MB, free: 8.059 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.879e-05/0.1146, allocations: 129.8 kB / 475.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.1147, allocations: 15.75 kB / 475.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.1151, allocations: 191.1 kB / 475.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1151, allocations: 0 / 475.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-06/0.1151, allocations: 0 / 475.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1151, allocations: 3.938 kB / 475.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.1154, allocations: 233.6 kB / 476.1 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1154, allocations: 0 / 476.1 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.1154, allocations: 12 kB / 476.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003145/0.1158, allocations: 72.73 kB / 476.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.1158, allocations: 0 / 476.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.1169, allocations: 1.469 MB / 477.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1169, allocations: 7.922 kB / 477.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.1173, allocations: 276.2 kB / 478 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.1174, allocations: 88.95 kB / 478.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1174, allocations: 0 / 478.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1175, allocations: 11.98 kB / 478.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.1175, allocations: 4 kB / 478.1 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1175, allocations: 4 kB / 478.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.725e-05/0.1176, allocations: 124.9 kB / 478.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1176, allocations: 0 / 478.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.1179, allocations: 40 kB / 478.2 MB, free: 5.152 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.0007046/0.1186, allocations: 0.8145 MB / 479.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005504/0.1192, allocations: 274.8 kB / 479.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1192, allocations: 4.312 kB / 479.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.1195, allocations: 178.6 kB / 479.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.1198, allocations: 8 kB / 479.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.1219, allocations: 1.968 MB / 481.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1222, allocations: 0.7006 MB / 482.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.648e-05/0.1223, allocations: 12.88 kB / 482.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.1223, allocations: 27.42 kB / 482.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1223, allocations: 4 kB / 482.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.1415, allocations: 3.608 MB / 485.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.665/8.806, allocations: 3.5 kB / 485.8 MB, free: 13.45 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)