Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 123.9 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 185.3 kB / 20.73 MB, free: 2.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 249.1 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1832/0.1832, allocations: 38.5 MB / 342.5 MB, free: 8.047 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 65.92 kB / 478.6 MB, free: 33.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.102, allocations: 61.25 MB / 0.5272 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.00599/0.108, allocations: 4.115 MB / 0.5312 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1095, allocations: 0.8609 MB / 0.5321 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.1097, allocations: 11.94 kB / 0.5321 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.1098, allocations: 43.56 kB / 0.5321 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005004/0.1103, allocations: 171 kB / 0.5323 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.1106, allocations: 83.83 kB / 0.5324 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004857/0.111, allocations: 402.5 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.1112, allocations: 74.28 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.1115, allocations: 195.1 kB / 0.533 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.1119, allocations: 191.3 kB / 0.5332 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.1119, allocations: 20 kB / 0.5332 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.44e-05/0.112, allocations: 20 kB / 0.5332 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1121, allocations: 83.67 kB / 0.5333 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.1122, allocations: 147.2 kB / 0.5335 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.1127, allocations: 294.6 kB / 0.5337 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1127, allocations: 0 / 0.5337 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1127, allocations: 0 / 0.5337 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1127, allocations: 0 / 0.5337 GB, free: 10.66 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001164/0.1138, allocations: 0.6047 MB / 0.5343 GB, free: 10.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1139, allocations: 11.89 kB / 0.5343 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.447e-05/0.1139, allocations: 54.73 kB / 0.5344 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.114, allocations: 36.7 kB / 0.5344 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006387/0.1147, allocations: 343.2 kB / 0.5348 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.1147, allocations: 16.81 kB / 0.5348 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.1148, allocations: 31.94 kB / 0.5348 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.1153, allocations: 294 kB / 0.5351 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1153, allocations: 0 / 0.5351 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.1153, allocations: 11.94 kB / 0.5351 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1153, allocations: 8 kB / 0.5351 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.1156, allocations: 187.8 kB / 0.5353 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.1174, allocations: 1.28 MB / 0.5365 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.1177, allocations: 119.8 kB / 0.5366 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.791e-05/0.1177, allocations: 42.62 kB / 0.5367 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.1178, allocations: 4 kB / 0.5367 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.1178, allocations: 38.5 kB / 0.5367 GB, free: 7.332 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.1178, allocations: 3.938 kB / 0.5367 GB, free: 7.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009953/0.1188, allocations: 0.5399 MB / 0.5373 GB, free: 6.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.1189, allocations: 106.8 kB / 0.5374 GB, free: 6.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.1191, allocations: 242.7 kB / 0.5376 GB, free: 6.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.1191, allocations: 25.95 kB / 0.5376 GB, free: 6.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1193, allocations: 204 kB / 0.5378 GB, free: 6.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.1193, allocations: 43.62 kB / 0.5378 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.471e-05/0.1194, allocations: 45.66 kB / 0.5379 GB, free: 6.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1195, allocations: 330.8 kB / 0.5382 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.453e-05/0.1196, allocations: 47.97 kB / 0.5383 GB, free: 5.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.1198, allocations: 135 kB / 0.5384 GB, free: 5.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.12, allocations: 195.8 kB / 0.5386 GB, free: 5.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.12, allocations: 0 / 0.5386 GB, free: 5.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004171/0.1205, allocations: 226 kB / 0.5388 GB, free: 5.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1205, allocations: 12.39 kB / 0.5388 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1205, allocations: 8 kB / 0.5388 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.1206, allocations: 28.78 kB / 0.5388 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.121, allocations: 63.89 kB / 0.5389 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.121, allocations: 4 kB / 0.5389 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.1211, allocations: 8 kB / 0.5389 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.1211, allocations: 8 kB / 0.5389 GB, free: 4.887 MB / 398.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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.1212, allocations: 149.8 kB / 0.5391 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.1213, allocations: 23.86 kB / 0.5391 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.1216, allocations: 147.3 kB / 0.5392 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1216, allocations: 3.938 kB / 0.5392 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1216, allocations: 0 / 0.5392 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1216, allocations: 4 kB / 0.5392 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.122, allocations: 289.5 kB / 0.5395 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.122, allocations: 7.922 kB / 0.5395 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.1222, allocations: 27.98 kB / 0.5395 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1222, allocations: 0 / 0.5395 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1222, allocations: 8 kB / 0.5395 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1222, allocations: 3.938 kB / 0.5395 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1222, allocations: 3.938 kB / 0.5395 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.1226, allocations: 363.5 kB / 0.5399 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.392e-05/0.1227, allocations: 97 kB / 0.54 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.1228, allocations: 7.984 kB / 0.54 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.1229, allocations: 12 kB / 0.54 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.1229, allocations: 11.98 kB / 0.54 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.123, allocations: 4 kB / 0.54 GB, free: 3.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.1231, allocations: 166 kB / 0.5402 GB, free: 3.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1231, allocations: 4 kB / 0.5402 GB, free: 3.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000351/0.1235, allocations: 44 kB / 0.5402 GB, free: 3.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00073/0.1242, allocations: 0.8921 MB / 0.5411 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003702/0.1246, allocations: 206.5 kB / 0.5413 GB, free: 2.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1246, allocations: 0 / 0.5413 GB, free: 2.285 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.924e-05/0.1247, allocations: 55.92 kB / 0.5413 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000538/0.1252, allocations: 53.17 kB / 0.5414 GB, free: 2.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.1284, allocations: 2.628 MB / 0.544 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.1288, allocations: 0.7714 MB / 0.5447 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.129, allocations: 30.28 kB / 0.5447 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.1291, allocations: 83.41 kB / 0.5448 GB, free: 14.47 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1291, allocations: 0 / 0.5448 GB, free: 14.47 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04433/0.1734, allocations: 4.92 MB / 0.5496 GB, free: 9.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.49, allocations: 7.734 kB / 0.5496 GB, free: 9.676 MB / 414.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC_fmu --startTime=0 --stopTime=1 --stepSize=0.000270051 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.260381284169853] Failed to read output from testmodel.py, exit status != 0: 10.576417503878474 10.604553101 10.488614453 Calling exit ...