Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_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.2+maint.om/package.mo): time 0.00168/0.00168, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.786/1.786, allocations: 194.3 MB / 208.4 MB, free: 6.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001766/0.001766, allocations: 120.7 kB / 253.5 MB, free: 9.598 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1899/0.1899, allocations: 37.92 MB / 336.4 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.437e-05/4.456e-05, allocations: 0 / 397.6 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3106, allocations: 53.21 MB / 450.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3834/0.694, allocations: 96.59 MB / 0.5346 GB, free: 88.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.6943, allocations: 91.64 kB / 0.5347 GB, free: 88.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04239/0.7367, allocations: 15.72 MB / 0.5501 GB, free: 79.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.7368, allocations: 0 / 0.5501 GB, free: 79.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.701e-05/0.7368, allocations: 16 kB / 0.5501 GB, free: 79.04 MB / 378.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.001695/0.7386, allocations: 0.7862 MB / 0.5508 GB, free: 78.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.7386, allocations: 8.031 kB / 0.5508 GB, free: 78.18 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002078/0.7388, allocations: 102.5 kB / 0.5509 GB, free: 78.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005804/0.7394, allocations: 83.3 kB / 0.551 GB, free: 77.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.7411, allocations: 0.6934 MB / 0.5517 GB, free: 77.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.7411, allocations: 29.11 kB / 0.5517 GB, free: 77.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.7413, allocations: 43.95 kB / 0.5518 GB, free: 77.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.7424, allocations: 0.8418 MB / 0.5526 GB, free: 76.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.7424, allocations: 0 / 0.5526 GB, free: 76.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.459e-05/0.7425, allocations: 16 kB / 0.5526 GB, free: 76.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/0.7426, allocations: 52.73 kB / 0.5527 GB, free: 76.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.7436, allocations: 0.7606 MB / 0.5534 GB, free: 75.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/0.7468, allocations: 2.642 MB / 0.556 GB, free: 72.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007513/0.7475, allocations: 0.5799 MB / 0.5565 GB, free: 72.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/0.748, allocations: 483 kB / 0.557 GB, free: 71.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.748, allocations: 4.266 kB / 0.557 GB, free: 71.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.7481, allocations: 38.55 kB / 0.557 GB, free: 71.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.084e-06/0.7481, allocations: 0 / 0.557 GB, free: 71.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.002/0.7501, allocations: 1.496 MB / 0.5585 GB, free: 70.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.7501, allocations: 134.8 kB / 0.5586 GB, free: 69.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.7504, allocations: 254.7 kB / 0.5589 GB, free: 69.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.7504, allocations: 33.7 kB / 0.5589 GB, free: 69.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.401e-05/0.7505, allocations: 244.5 kB / 0.5591 GB, free: 69.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.7506, allocations: 205 kB / 0.5593 GB, free: 69.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.7507, allocations: 8 kB / 0.5594 GB, free: 69.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.7508, allocations: 354.7 kB / 0.5597 GB, free: 68.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.7512, allocations: 353 kB / 0.56 GB, free: 68.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.7516, allocations: 487 kB / 0.5605 GB, free: 67.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.7521, allocations: 474.8 kB / 0.5609 GB, free: 67.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.7521, allocations: 3.938 kB / 0.5609 GB, free: 67.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001126/0.7532, allocations: 0.9986 MB / 0.5619 GB, free: 66.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.435e-05/0.7533, allocations: 77.72 kB / 0.562 GB, free: 66.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.7533, allocations: 4 kB / 0.562 GB, free: 66.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.7535, allocations: 40.83 kB / 0.562 GB, free: 66.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.7538, allocations: 87.81 kB / 0.5621 GB, free: 66.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009099/0.7547, allocations: 1.433 MB / 0.5635 GB, free: 64.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.7551, allocations: 35.95 kB / 0.5636 GB, free: 64.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.7552, allocations: 27.98 kB / 0.5636 GB, free: 64.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3],system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.7554, allocations: 202 kB / 0.5638 GB, free: 64.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-05/0.7555, allocations: 47.67 kB / 0.5638 GB, free: 64.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.7568, allocations: 1.116 MB / 0.5649 GB, free: 63.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/0.7569, allocations: 19.94 kB / 0.5649 GB, free: 63.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.7569, allocations: 4 kB / 0.5649 GB, free: 63.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.7569, allocations: 0 / 0.5649 GB, free: 63.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.7591, allocations: 1.815 MB / 0.5667 GB, free: 61.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.7592, allocations: 0 / 0.5667 GB, free: 61.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.7594, allocations: 59.89 kB / 0.5668 GB, free: 61.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/0.7595, allocations: 28.84 kB / 0.5668 GB, free: 61.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/0.7596, allocations: 19.98 kB / 0.5668 GB, free: 61.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008962/0.7605, allocations: 1.437 MB / 0.5682 GB, free: 59.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7605, allocations: 0 / 0.5682 GB, free: 59.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.7618, allocations: 1.251 MB / 0.5694 GB, free: 58.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/0.7621, allocations: 180.5 kB / 0.5696 GB, free: 58.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.247e-05/0.7622, allocations: 19.97 kB / 0.5696 GB, free: 58.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.7625, allocations: 31.91 kB / 0.5697 GB, free: 58.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.7626, allocations: 47.94 kB / 0.5697 GB, free: 58.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/0.7627, allocations: 12 kB / 0.5697 GB, free: 58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001702/0.7629, allocations: 198.2 kB / 0.5699 GB, free: 57.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7629, allocations: 0 / 0.5699 GB, free: 57.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000658/0.7635, allocations: 156 kB / 0.5701 GB, free: 57.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001773/0.7653, allocations: 2.055 MB / 0.5721 GB, free: 55.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.7668, allocations: 1.396 MB / 0.5734 GB, free: 54.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.7668, allocations: 0 / 0.5734 GB, free: 54.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008615/0.7677, allocations: 0.9513 MB / 0.5744 GB, free: 53.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.7681, allocations: 63.28 kB / 0.5744 GB, free: 53.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.7703, allocations: 1.347 MB / 0.5757 GB, free: 51.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.7707, allocations: 0.918 MB / 0.5766 GB, free: 50.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00034/0.7711, allocations: 107.2 kB / 0.5767 GB, free: 50.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.7713, allocations: 151.4 kB / 0.5769 GB, free: 50.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.7713, allocations: 4 kB / 0.5769 GB, free: 50.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.7978, allocations: 9.954 MB / 0.5866 GB, free: 40.55 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.798, allocations: 168.2 kB / 0.5868 GB, free: 40.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/2.963, allocations: 12 kB / 0.5868 GB, free: 40.31 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1)