Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 121.1 kB / 17.76 MB, free: 5.293 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.001294/0.001294, allocations: 184.6 kB / 18.69 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1634/0.1634, allocations: 38.04 MB / 330.6 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.027e-05, allocations: 2.281 kB / 458.8 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005318/0.005339, allocations: 4.059 MB / 462.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.007037, allocations: 0.892 MB / 463.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.007301, allocations: 15.94 kB / 463.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.007567, allocations: 47.5 kB / 463.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006267/0.008194, allocations: 187 kB / 464 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.008461, allocations: 83.83 kB / 464 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005838/0.009045, allocations: 458.4 kB / 464.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.00922, allocations: 44.7 kB / 464.5 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/0.009581, allocations: 183.2 kB / 464.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.009916, allocations: 147.3 kB / 464.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.009962, allocations: 19.94 kB / 464.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.724e-05/0.01002, allocations: 16 kB / 464.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0003624/0.01038, allocations: 443.1 kB / 465.3 MB, free: 300 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.000196/0.01058, allocations: 284 kB / 465.6 MB, free: 12 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.0107, allocations: 47.86 kB / 465.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.179e-05/0.01075, allocations: 4 kB / 465.7 MB, free: 15.96 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 (42) * Number of variables: 55 (40) Notification: Performance of Bindings: time 0.001061/0.01181, allocations: 1.015 MB / 466.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001429/0.01195, allocations: 82.28 kB / 466.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0003456/0.0123, allocations: 347.4 kB / 467.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001122/0.01241, allocations: 99.72 kB / 467.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Alias: time 0.0008193/0.01323, allocations: 0.55 MB / 467.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simplify2: time 9.541e-05/0.01333, allocations: 88.31 kB / 467.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002014/0.01353, allocations: 127.7 kB / 467.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Events: time 5.741e-05/0.01358, allocations: 35.97 kB / 468 MB, free: 13.26 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002234/0.01381, allocations: 176.5 kB / 468.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Causalize: time 0.001073/0.01488, allocations: 0.7796 MB / 468.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003108/0.01519, allocations: 284.1 kB / 469.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of Inline: time 0.0006209/0.01581, allocations: 0.5387 MB / 469.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Partitioning: time 2.979e-05/0.01584, allocations: 21.23 kB / 469.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Cleanup: time 0.0001051/0.01595, allocations: 95.88 kB / 469.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Causalize: time 0.001773/0.01772, allocations: 1.344 MB / 471.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of Tearing: time 1.172e-05/0.01773, allocations: 0 / 471.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of Initialization: time 6.31e-07/0.01773, allocations: 0 / 471.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of Tearing: time 5.07e-06/0.01774, allocations: 4 kB / 471.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of Categorize: time 9.799e-06/0.01775, allocations: 0 / 471.2 MB, free: 9.926 MB / 350.1 MB Error: Internal error NBDifferentiate.differentiateCall failed for: {$FUN_2 for $i1 in 1:3} Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Sliced Component (status = Solve.UNPROCESSED) ------------------------------------------------------ ### Variable: voltage.term.v[1] ### Equation: [SCAL] (1) voltage.term.v[1] - voltage.term.v[2] = voltage.V * voltage.v0eff * {$FUN_2 for $i1 in 1:3} ($RES_SIM_5)