Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007963/0.0007963, allocations: 92.33 kB / 20.95 MB, free: 3.48 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008559/0.0008559, allocations: 161.3 kB / 24.26 MB, free: 180 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8922/0.8922, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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.2441/0.2441, allocations: 29.42 MB / 290.5 MB, free: 2.441 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.072e-05, allocations: 2.312 kB / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.00406/0.00408, allocations: 3.867 MB / 372.3 MB, free: 7.902 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.005164, allocations: 0.8493 MB / 373.1 MB, free: 7.051 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.00531, allocations: 23.81 kB / 373.1 MB, free: 7.027 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.005465, allocations: 39.64 kB / 373.2 MB, free: 6.988 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003996/0.005865, allocations: 174.8 kB / 373.3 MB, free: 6.816 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.006018, allocations: 87.75 kB / 373.4 MB, free: 6.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.006304, allocations: 390.5 kB / 373.8 MB, free: 6.348 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.006451, allocations: 52.56 kB / 373.9 MB, free: 6.301 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.006743, allocations: 235.3 kB / 374.1 MB, free: 6.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.006951, allocations: 151.5 kB / 374.2 MB, free: 5.922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.00698, allocations: 16 kB / 374.3 MB, free: 5.906 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.528e-05/0.007006, allocations: 20 kB / 374.3 MB, free: 5.887 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.724e-05/0.007083, allocations: 83.73 kB / 374.4 MB, free: 5.805 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.544e-05/0.007158, allocations: 79.83 kB / 374.4 MB, free: 5.727 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.007393, allocations: 251.1 kB / 374.7 MB, free: 5.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.007396, allocations: 0 / 374.7 MB, free: 5.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.007398, allocations: 4 kB / 374.7 MB, free: 5.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.007403, allocations: 0 / 374.7 MB, free: 5.477 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006676/0.008071, allocations: 0.4906 MB / 375.2 MB, free: 4.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.008111, allocations: 11.98 kB / 375.2 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.008157, allocations: 58.73 kB / 375.2 MB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.008218, allocations: 44.75 kB / 375.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006017/0.008819, allocations: 284.2 kB / 375.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.008834, allocations: 20.81 kB / 375.6 MB, free: 4.512 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.008868, allocations: 28.12 kB / 375.6 MB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.009132, allocations: 262.9 kB / 375.9 MB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.00914, allocations: 7.938 kB / 375.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.009155, allocations: 8 kB / 375.9 MB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.009165, allocations: 8 kB / 375.9 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.009341, allocations: 155.6 kB / 376 MB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000837/0.01018, allocations: 1.102 MB / 377.1 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.0103, allocations: 81.16 kB / 377.2 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.01034, allocations: 25.78 kB / 377.3 MB, free: 2.707 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.01035, allocations: 0 / 377.3 MB, free: 2.707 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.01038, allocations: 38.56 kB / 377.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.01038, allocations: 0 / 377.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005611/0.01094, allocations: 340.3 kB / 377.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.01098, allocations: 81.11 kB / 377.7 MB, free: 2.195 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.01114, allocations: 249.9 kB / 377.9 MB, free: 1.941 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.01115, allocations: 29.7 kB / 378 MB, free: 1.906 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.91e-05/0.01124, allocations: 188 kB / 378.2 MB, free: 1.719 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.01126, allocations: 31.73 kB / 378.2 MB, free: 1.688 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.0113, allocations: 45.66 kB / 378.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.01139, allocations: 338.8 kB / 378.6 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.542e-05/0.01142, allocations: 20 kB / 378.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.618e-05/0.0115, allocations: 127.8 kB / 378.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.01163, allocations: 172.7 kB / 378.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.01163, allocations: 0 / 378.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001935/0.01183, allocations: 189.2 kB / 379.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.01184, allocations: 4 kB / 379.1 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.01185, allocations: 4 kB / 379.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.01187, allocations: 4 kB / 379.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.01198, allocations: 48.3 kB / 379.1 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.01199, allocations: 11.94 kB / 379.1 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.907e-05/0.01205, allocations: 11.95 kB / 379.1 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.01206, allocations: 19.92 kB / 379.2 MB, free: 0.6016 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.026e-05/0.01215, allocations: 141.8 kB / 379.3 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.01217, allocations: 23.91 kB / 379.3 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.0123, allocations: 87.45 kB / 379.4 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.0123, allocations: 4 kB / 379.4 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.0123, allocations: 4.375 kB / 379.4 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01231, allocations: 3.984 kB / 379.4 MB, free: 332 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.01264, allocations: 398.6 kB / 379.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.01264, allocations: 4 kB / 379.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.588e-05/0.01272, allocations: 19.98 kB / 379.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.01272, allocations: 7.938 kB / 379.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.01273, allocations: 0 / 379.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.01273, allocations: 3.938 kB / 379.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01273, allocations: 4 kB / 379.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.01291, allocations: 225 kB / 380.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.01293, allocations: 23.83 kB / 380.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.01295, allocations: 7.984 kB / 380.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.817e-05/0.013, allocations: 96 / 380.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.01302, allocations: 8 kB / 380.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.01302, allocations: 4 kB / 380.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.79e-05/0.01312, allocations: 173.2 kB / 380.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01312, allocations: 0 / 380.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002048/0.01333, allocations: 40 kB / 380.3 MB, free: 15.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0003393/0.01367, allocations: 0.7608 MB / 381.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.0138, allocations: 88.44 kB / 381.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.0138, allocations: 0 / 381.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.01384, allocations: 27.92 kB / 381.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.01417, allocations: 58.05 kB / 381.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.01619, allocations: 2.268 MB / 383.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.972e-05/0.01629, allocations: 154.2 kB / 383.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.577e-05/0.01637, allocations: 34.27 kB / 383.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.01644, allocations: 64.48 kB / 383.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01644, allocations: 0 / 383.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.03884, allocations: 5.074 MB / 388.8 MB, free: 6.73 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.044/7.083, allocations: 7.688 kB / 388.8 MB, free: 6.727 MB / 362.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000269906 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.943256303668022] Failed to read output from testmodel.py, exit status != 0: 7.167152184993029 7.179371927 7.170084657 Calling exit ...