Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002653/0.002658, allocations: 183.3 kB / 15.77 MB, free: 6.379 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.4 MB / 221.9 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001171/0.00117, allocations: 82.88 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2644/0.2644, allocations: 38.05 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004681, allocations: 12 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1069, allocations: 56.33 MB / 479.1 MB, free: 1.941 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.007009/0.114, allocations: 4.389 MB / 483.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003821/0.1178, allocations: 1.556 MB / 485.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/0.1183, allocations: 31.81 kB / 485.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.1186, allocations: 67.52 kB / 485.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008818/0.1194, allocations: 235.2 kB / 485.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009496/0.1204, allocations: 239.5 kB / 485.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006237/0.1211, allocations: 331.8 kB / 486 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009143/0.122, allocations: 379.5 kB / 486.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004629/0.1225, allocations: 215.2 kB / 486.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006221/0.1231, allocations: 291.2 kB / 486.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.458e-05/0.1232, allocations: 24 kB / 486.9 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.1237, allocations: 151.7 kB / 487 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000299/0.124, allocations: 203.5 kB / 487.2 MB, free: 9.824 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.1242, allocations: 121.4 kB / 487.3 MB, free: 9.699 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008482/0.1251, allocations: 0.5416 MB / 487.9 MB, free: 9.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.1251, allocations: 0 / 487.9 MB, free: 9.156 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1251, allocations: 3.938 kB / 487.9 MB, free: 9.152 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.096e-06/0.1251, allocations: 0 / 487.9 MB, free: 9.152 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001962/0.1271, allocations: 0.7908 MB / 488.7 MB, free: 8.309 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1271, allocations: 12.03 kB / 488.7 MB, free: 8.297 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/0.1273, allocations: 98.5 kB / 488.8 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008196/0.1282, allocations: 103.2 kB / 488.9 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009004/0.1291, allocations: 410.8 kB / 489.3 MB, free: 7.641 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.665e-05/0.1291, allocations: 29 kB / 489.3 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.1293, allocations: 35.98 kB / 489.3 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.1312, allocations: 0.8591 MB / 490.2 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.1313, allocations: 3.938 kB / 490.2 MB, free: 6.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-05/0.1314, allocations: 19.98 kB / 490.2 MB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002359/0.1316, allocations: 56.95 kB / 490.3 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.1335, allocations: 0.7923 MB / 491.1 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005995/0.1395, allocations: 2.737 MB / 493.8 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.141, allocations: 0.572 MB / 494.4 MB, free: 2.332 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.543e-05/0.1411, allocations: 12.05 kB / 494.4 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.1411, allocations: 38.56 kB / 494.4 MB, free: 2.273 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 3.196e-06/0.1412, allocations: 0 / 494.4 MB, free: 2.273 MB / 330.7 MB Internal error: BackendDAEEXT.getAssignment failed because n=56>arrayLength(ass1)=56 or m=78>arrayLength(ass2)=56 Error: Internal error It is not possible to select continuous time states because Number of Equations 1 greater than number of States 0 to select from. Error: Internal error - IndexReduction.dynamicStateSelectionWork failed!