Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002618/0.0002618, allocations: 0 / 0, free: 0 / 0 " [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.00024/0.00024, allocations: 0 / 0, free: 0 / 0 " [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.1514/0.1514, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.008012/0.008012, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 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: simulate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,startTime=0,stopTime=50,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,startTime=0,stopTime=50,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.339e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.00323/0.003244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001797/0.00504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.00526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.005495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.005738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.000935/0.006673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0007832/0.007456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.007632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0004812/0.008113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.008379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 7.676e-05/0.008455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.008615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.008786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.008968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0005703/0.009538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 6.682e-05/0.009605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.473e-06/0.009607, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.754e-06/0.009614, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001246/0.01086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.907e-05/0.01094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.01111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006291/0.01174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.472e-05/0.01183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.01194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007842/0.01272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.01275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.289e-05/0.01282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.01284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.01317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.01514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.01556, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.01569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.01572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003048/0.01603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=51): time 4.688e-06/0.01603, allocations: 0 / 0, free: 0 / 0 [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) R_disc.cs R_disc.Iaction R_disc.satDiff R_disc.satin when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP) - pre(R_disc.PV)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.satin)); end when; [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: R_disc.cs R_disc.Iaction R_disc.satDiff R_disc.satin equations: when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP) - pre(R_disc.PV)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.satin)); end when; [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error function analyseStrongComponentBlock failed [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error function analyseStrongComponentScalar failed [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [BackEnd/BackendDAEUtil.mo:0:0-0:0:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.649500195402652]