Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.001277/0.001277, allocations: 112.9 kB / 17.06 MB, free: 5.996 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.001519/0.00152, allocations: 198.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2063/0.2063, allocations: 37.98 MB / 309.2 MB, free: 5.945 MB / 254.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.00142/0.00142, allocations: 63.91 kB / 431.4 MB, free: 16.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09384/0.09527, allocations: 55.24 MB / 486.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005099/0.1004, allocations: 3.96 MB / 490.6 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.1029, allocations: 1.875 MB / 492.4 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.1031, allocations: 11.94 kB / 492.4 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.1042, allocations: 366.6 kB / 492.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008818/0.1051, allocations: 406.5 kB / 493.2 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.1055, allocations: 131.6 kB / 493.3 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005872/0.1061, allocations: 494.6 kB / 493.8 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003303/0.1064, allocations: 214.8 kB / 494 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.1067, allocations: 219.1 kB / 494.2 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.107, allocations: 231.2 kB / 494.5 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.1071, allocations: 20 kB / 494.5 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000647/0.1077, allocations: 446.9 kB / 494.9 MB, free: 488 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.1079, allocations: 147.7 kB / 495.1 MB, free: 340 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.108, allocations: 163.2 kB / 495.2 MB, free: 176 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005746/0.1086, allocations: 494.6 kB / 495.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1086, allocations: 4 kB / 495.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1086, allocations: 0 / 495.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1087, allocations: 7.875 kB / 495.7 MB, free: 15.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007868/0.1095, allocations: 0.5926 MB / 496.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1095, allocations: 11.89 kB / 496.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.209e-05/0.1096, allocations: 66.72 kB / 496.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.1107, allocations: 136.4 kB / 496.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.1112, allocations: 300.8 kB / 496.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.1112, allocations: 16.92 kB / 496.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.1113, allocations: 28.38 kB / 496.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000629/0.1119, allocations: 443.7 kB / 497.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1119, allocations: 0 / 497.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.112, allocations: 12 kB / 497.3 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/0.112, allocations: 24.55 kB / 497.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005825/0.1126, allocations: 429.9 kB / 497.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.1147, allocations: 1.71 MB / 499.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.1151, allocations: 290.1 kB / 499.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.1153, allocations: 137.7 kB / 499.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1153, allocations: 4 kB / 499.9 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1154, allocations: 30.94 kB / 499.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.1154, allocations: 8 kB / 499.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001672/0.1171, allocations: 0.7825 MB / 0.489 GB, free: 10.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.1171, allocations: 85.05 kB / 0.489 GB, free: 10.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1173, allocations: 210.9 kB / 0.4892 GB, free: 10.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1173, allocations: 29.7 kB / 0.4893 GB, free: 10.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.902e-05/0.1174, allocations: 180.1 kB / 0.4894 GB, free: 9.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.1175, allocations: 82.95 kB / 0.4895 GB, free: 9.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.243e-05/0.1176, allocations: 61.89 kB / 0.4896 GB, free: 9.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1177, allocations: 334.8 kB / 0.4899 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.1179, allocations: 108.5 kB / 0.49 GB, free: 9.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.1181, allocations: 209 kB / 0.4902 GB, free: 8.992 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.1185, allocations: 337 kB / 0.4905 GB, free: 8.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1185, allocations: 4 kB / 0.4905 GB, free: 8.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006924/0.1192, allocations: 433.6 kB / 0.4909 GB, free: 8.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1192, allocations: 8 kB / 0.4909 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1192, allocations: 8.391 kB / 0.491 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003622/0.1196, allocations: 88.78 kB / 0.491 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.1198, allocations: 55.91 kB / 0.4911 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.1219, allocations: 1.994 MB / 0.493 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.1221, allocations: 20.05 kB / 0.4931 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.1221, allocations: 16 kB / 0.4931 GB, free: 5.859 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * 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 (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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001949/0.1223, allocations: 185.5 kB / 0.4932 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.1224, allocations: 23.66 kB / 0.4933 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006838/0.1231, allocations: 384 kB / 0.4936 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1231, allocations: 4 kB / 0.4936 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.1231, allocations: 4 kB / 0.4936 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.1231, allocations: 0 / 0.4936 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.1245, allocations: 0.9024 MB / 0.4945 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1245, allocations: 3.938 kB / 0.4945 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1247, allocations: 43.91 kB / 0.4946 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002416/0.1249, allocations: 68.8 kB / 0.4946 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.1249, allocations: 4 kB / 0.4946 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/0.1267, allocations: 1.916 MB / 0.4965 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1267, allocations: 0 / 0.4965 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006584/0.1274, allocations: 467.2 kB / 0.497 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/0.1275, allocations: 100.8 kB / 0.4971 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.1275, allocations: 8 kB / 0.4971 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1277, allocations: 7.984 kB / 0.4971 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.1277, allocations: 23.86 kB / 0.4971 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.1277, allocations: 8 kB / 0.4971 GB, free: 1.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.1279, allocations: 156.4 kB / 0.4972 GB, free: 1.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1279, allocations: 3.938 kB / 0.4973 GB, free: 1.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004661/0.1284, allocations: 84 kB / 0.4973 GB, free: 1.203 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001018/0.1294, allocations: 0.9965 MB / 0.4983 GB, free: 172 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009343/0.1303, allocations: 438.9 kB / 0.4987 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1303, allocations: 0 / 0.4987 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004422/0.1308, allocations: 278.6 kB / 0.499 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.1312, allocations: 36.03 kB / 0.499 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.1353, allocations: 3.022 MB / 0.502 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.1357, allocations: 0.7987 MB / 0.5028 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.1359, allocations: 49.91 kB / 0.5028 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.136, allocations: 87.41 kB / 0.5029 GB, free: 11.23 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.136, allocations: 3.938 kB / 0.5029 GB, free: 11.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.1607, allocations: 5.766 MB / 0.5085 GB, free: 5.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.637/9.797, allocations: 7.922 kB / 0.5085 GB, free: 5.406 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)