Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",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.0007525/0.0007525, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007905/0.0007905, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06029/0.06029, allocations: 14.17 MB / 284.6 MB, free: 7.129 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004932, allocations: 16 kB / 346.3 MB, free: 19.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0966/0.0971, allocations: 51.12 MB / 397.4 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.00373/0.1009, allocations: 3.727 MB / 401.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002961/0.1039, allocations: 2.238 MB / 403.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.104, allocations: 11.94 kB / 403.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.1045, allocations: 187.1 kB / 403.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.1063, allocations: 0.8984 MB / 404.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.1067, allocations: 207.4 kB / 404.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.1077, allocations: 0.8949 MB / 405.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.1079, allocations: 60.98 kB / 405.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.1082, allocations: 254.8 kB / 405.9 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.1085, allocations: 238.9 kB / 406.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.1085, allocations: 12 kB / 406.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000427/0.1089, allocations: 231.8 kB / 406.3 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.109, allocations: 55.64 kB / 406.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1091, allocations: 113.5 kB / 406.5 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000545/0.1097, allocations: 0.5262 MB / 407 MB, free: 6.953 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1097, allocations: 4 kB / 407 MB, free: 6.949 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1097, allocations: 0 / 407 MB, free: 6.949 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1097, allocations: 0 / 407 MB, free: 6.949 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001898/0.1116, allocations: 0.8575 MB / 407.9 MB, free: 6.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1116, allocations: 12.02 kB / 407.9 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.261e-05/0.1117, allocations: 70.53 kB / 408 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.112, allocations: 79.41 kB / 408 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005601/0.1126, allocations: 395.5 kB / 408.4 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.1126, allocations: 32.95 kB / 408.5 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.1127, allocations: 31.94 kB / 408.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.1132, allocations: 350.4 kB / 408.8 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1132, allocations: 0 / 408.8 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.1132, allocations: 8 kB / 408.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1133, allocations: 11.94 kB / 408.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000507/0.1138, allocations: 314.4 kB / 409.2 MB, free: 4.691 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.1158, allocations: 2.136 MB / 411.3 MB, free: 2.262 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008907/0.1167, allocations: 0.5363 MB / 411.8 MB, free: 1.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.1169, allocations: 125.5 kB / 411.9 MB, free: 1.555 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.1169, allocations: 7.984 kB / 412 MB, free: 1.547 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.117, allocations: 42.31 kB / 412 MB, free: 1.496 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.463e-06/0.117, allocations: 0 / 412 MB, free: 1.496 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.002012/0.119, allocations: 0.7558 MB / 412.8 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.119, allocations: 55.41 kB / 412.8 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.1193, allocations: 300.5 kB / 413.1 MB, free: 356 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.1194, allocations: 30.8 kB / 413.1 MB, free: 320 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.1195, allocations: 196.3 kB / 413.3 MB, free: 120 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.1196, allocations: 138.2 kB / 413.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/0.1196, allocations: 8 kB / 413.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1198, allocations: 338.8 kB / 413.8 MB, free: 15.63 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.1199, allocations: 92.61 kB / 413.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.1201, allocations: 119.4 kB / 414 MB, free: 15.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.1203, allocations: 107.9 kB / 414.1 MB, free: 15.31 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1203, allocations: 3.938 kB / 414.1 MB, free: 15.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008962/0.1212, allocations: 445.9 kB / 414.5 MB, free: 14.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1212, allocations: 12.03 kB / 414.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1213, allocations: 0 / 414.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006905/0.122, allocations: 160.7 kB / 414.7 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.1222, allocations: 67.89 kB / 414.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/0.1253, allocations: 2.039 MB / 416.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.1255, allocations: 23.75 kB / 416.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.1256, allocations: 12 kB / 416.9 MB, free: 12.43 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.1257, allocations: 165.7 kB / 417 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.937e-05/0.1258, allocations: 35.62 kB / 417.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009352/0.1268, allocations: 465.6 kB / 417.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1268, allocations: 4 kB / 417.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.1268, allocations: 0 / 417.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1268, allocations: 7.938 kB / 417.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.1283, allocations: 1.049 MB / 418.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1283, allocations: 3.938 kB / 418.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.1285, allocations: 71.89 kB / 418.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005413/0.1291, allocations: 152.7 kB / 418.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.1291, allocations: 4 kB / 418.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002384/0.1315, allocations: 2.011 MB / 420.8 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1315, allocations: 0 / 420.8 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008966/0.1324, allocations: 0.5189 MB / 421.3 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.1325, allocations: 148.6 kB / 421.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.1326, allocations: 4 kB / 421.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.1328, allocations: 15.84 kB / 421.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.1329, allocations: 31.86 kB / 421.5 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.1329, allocations: 8 kB / 421.5 MB, free: 7.473 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.1331, allocations: 219 kB / 421.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1331, allocations: 0 / 421.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004891/0.1336, allocations: 140 kB / 421.9 MB, free: 7.121 MB / 318.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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001284/0.1349, allocations: 1.107 MB / 423 MB, free: 5.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007838/0.1357, allocations: 458 kB / 423.4 MB, free: 5.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1357, allocations: 0 / 423.4 MB, free: 5.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005464/0.1363, allocations: 366.3 kB / 423.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.1367, allocations: 53.27 kB / 423.8 MB, free: 5.098 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/0.1399, allocations: 2.047 MB / 425.9 MB, free: 3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.1403, allocations: 0.8078 MB / 426.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.1405, allocations: 42.94 kB / 426.7 MB, free: 2.125 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.1407, allocations: 119.4 kB / 426.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1407, allocations: 0 / 426.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1778/0.3184, allocations: 8.927 MB / 435.8 MB, free: 35.34 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001205/0.3186, allocations: 212.4 kB / 436 MB, free: 35.1 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.222, allocations: 0 / 436 MB, free: 35.1 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1) Environment - environmentSimulation: